Admin consent requested – how to remove this message in Office 365

If the following screen is displayed for each user requesting consent for the application to gain access to their user details and profile, an administrator can configure Admin consent on behalf of all users for the add-in.   Admin consent for an add-in will grant consent on behalf of all users in the directory, ensuring the following notification is not displayed.

Admin consent for the add-in is granted through the Azure portal (https://portal.azure.com).

Select Azure Active Directory|Enterprise Applications.

Search for the name of the add-in (for example ‘Live Metadata‘) and open it.

Select Permissions (left navigation menu) and then select ‘Grant admin consent for [org_name]’.