You are viewing an earlier version of the admin guide. For the latest version, please visit EmpowerID Admin Guide v7.211.0.0.
Grant API Permissions to the service principal
The Exchange Online V2 PowerShell Microservice needs to have the Application permission Exchange.ManageAsApp
to access Exchange Online resources. This topic demonstrates how to grant permissions.
Grant API permissions
In Azure AD, navigate to the service principal app you created for Exchange.
On the navbar for the app, select Manifest to open the Manifest editor.
Â
Locate requiredResourceAccess in the editor.
Â
Copy the below code and replace the default requiredResourceAccess object with it.
"requiredResourceAccess": [ { "resourceAppId": "00000002-0000-0ff1-ce00-000000000000", "resourceAccess": [ { "id": "dc50a0fb-09a3-484d-be87-e023b12c6440", "type": "Role" } ] } ],
Â
Verify your changes look like that shown below and then click Save.
Â
Navigate to the API permissions blade for the app and confirm that Exchange.ManageAsApp appears as a permission.