Issue
When signing into the FYI add-in (Outlook and Office), the below message displays:
Cause
The application has not been granted permission by a Microsoft 365 Administrator in Azure Active Directory, which prevents the user from proceeding. As admin consent settings are not enabled in Azure Active Directory, the user cannot send a consent request to an administrator for them to approve.
Note: Should the message display "Approval required" refer to When adding a user, and they see a message that it needs to be approved, how do I approve this?
Solution
If the application is being tested by a single user prior to deployment, a Microsoft 365 admin account should be used to grant the application permission when the window pops up.
If the application is to be granted consent across the tenant and for all users, a Microsoft 365 admin should perform the following after referring to this Microsoft article:
- Open Azure Active Directory > Enterprise Applications
- Search for the application
- Select the 'Permissions' option under Security
- Select 'Grant admin consent'