Microsoft Entra ID Permissions
For permissions:
-
In the navigation pane to the left, click API permissions.
-
Click Microsoft Graph, and in the opened pane select Application permissions.
-
Add the following permissions:
-
User: User.Read.All
-
-
Add the Office 365 Exchange Online permissions (previously Exchange) - full\_access\_as\_app, MailboxSettings: MailboxSettings.Read.
-
Grant all the above-mentioned permissions.
Related information