API permissions

To obtain API permissions for the registered application, perform the following steps.

To obtain API permissions:

1. Select the registered application.
2. Select API permissions from left navigation panel.
3. Click Add a permission. The Request API permissions panel appears.
4. Click Microsoft Graph.
5. Click Application permissions.
6. Under DeviceManagementApps select DeviceManagementApps.ReadWrite.All and click Add permissions.

7. Under Group select Group.ReadWrite.All and click Add Permission.
8. Click on Grant admin consent for Account and consent to the permissions. The status will turn to Granted. Make sure the permissions are of type Application.