Add Permissions to the App Registration
You need to complete the steps on the Add Platform and URLs to App Registration page before starting the steps on this page.
- In the app registration left-hand menu, click API Permissions.
-
- Click Add a permission.
- On the new page select Microsoft Graph.
-
- Click Application Permissions.
-
- Add these permissions as shown below:
- Chat.Read.All
- ChannelMessage.Read.All
- Directory.Read.All
- User.Read.All
- TeamsTab.Read.All
-
- The new list will be similar to this:
-
- Select Delegated permissions and add the following permission:
- User.Read (should be there by default)
- Click Add permissions to save.
- Verify that the list is correct, then click Grant Admin consent.
- Then click Yes to confirm.
-
Go to the Running the PowerShell Script for Entra ID App Registration page and complete the steps on that page.