/
Grant API Permissions to the service principal

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

  1. In Azure AD, navigate to the service principal app you created for Exchange.

  2. On the navbar for the app, select Manifest to open the Manifest editor.

     

  3. Locate requiredResourceAccess in the editor.

     

  4. 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" } ] } ],

     

  5. Verify your changes look like that shown below and then click Save.

     

  6. Navigate to the API permissions blade for the app and confirm that Exchange.ManageAsApp appears as a permission.


Next Steps

Configure the Exchange Online App Service

Related content

Register Service Principal application for Exchange Online
Register Service Principal application for Exchange Online
Read with this
Register Service Principal with Exchange Online API Permissions
Register Service Principal with Exchange Online API Permissions
More like this
Configure the Exchange Online App Service
Configure the Exchange Online App Service
Read with this
Register Service Principal with Exchange Online API Permissions
Register Service Principal with Exchange Online API Permissions
More like this
Assign Permissions to the App Service
Assign Permissions to the App Service
Read with this
Register Service Principal with Exchange Online API Permissions
Register Service Principal with Exchange Online API Permissions
More like this