Hiding a Button
Problem You only want certain people to use a button on an app. The button can be for navigation, or an action. It doesn’t matter.
Solution Use an Azure Active Directory group to control who can use see the button. This makes managing permissions for the button very easy. You don’t need to change the app, change the group membership.
Components Azure AD Group with members Azure AD Group Object ID Some onStart code A button you only want certain people to see Office 365 Groups Connector Office 365 Users Connector Azure AD Create an Azure AD Group Add members Make a note of the ObjectID Sample Group