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

https://dotnetworkflow.jira.com/wiki/spaces/EAGV21/pages/2573467888