Set the permissions of the Microsoft 365 application for tenants
- Select API permissions in the menu on the left.
- Click the Add a permission button in the right panel to configure permissions for the application.
-
Add those permissions only that are required. Different usage scenarios and
components require different permissions.
Add those permissions only that are required and grant admin consent for requested permissions for all accounts in your tenant. To set up permissions for Unified Client workflows, do the following:
- Click the Microsoft Graph button under the Commonly used Microsoft APIs group on the Request API permissions page.
- Select Application permissions.
-
Select the checkboxes beside the following permissions:
- Microsoft Graph
- Directory.Read.All
- Directory.ReadWrite.All
- User.Read
- User.ReadWrite.All
- Mail.Send
- Mail.ReadWrite
- Click the Add permissions button.
- Click the Grant admin consent for [tenant name] button and click Yes.