App Permissions in Entra
Access Analyzer connects to SharePoint Online through a Microsoft Entra ID registered application using certificate-based authentication. You must register a dedicated application for Access Analyzer and grant it the required API permissions before adding SharePoint Online as a data source.
A user account with the Global Administrator, Application Administrator, or Cloud Application Administrator role is required to register an application and grant admin consent for permissions.
Register an app in Microsoft Entra ID
-
Sign in to the Microsoft Entra admin center.
-
On the left navigation menu, navigate to Identity > Applications > App registrations.
-
On the App registrations page, click New registration in the top toolbar.
-
Specify the following on the Register an application page:
- Name — Enter a display name for the application, for example, Access Analyzer SharePoint Online
- Supported account types — Select Accounts in this organizational directory only
- Redirect URI (optional) — Leave blank
-
Click Register.
The Overview page for the newly registered application opens. Note the following values — you'll need them when configuring the SharePoint Online connector in Access Analyzer:
- Application (client) ID
- Directory (tenant) ID
Grant permissions to the app
-
Sign in to the Microsoft Entra admin center.
-
Navigate to Identity > Applications > App registrations.
-
Click the All applications tab and select the application you registered.
-
Click API permissions under the Manage section.
-
Click Add a permission. The Request API permissions pane opens.
-
Click an API to access its permissions, then click the Application permissions tab.
-
Select the required permissions for each API (see table below).
-
Click Add Permissions.
-
Repeat steps 6–8 for each API listed in the table.
-
Click Grant admin consent for
<tenant>to apply the permissions.
Required permissions
| API | Permission | Description |
|---|---|---|
| Microsoft Graph | Sites.FullControl.All | Full control of all site collections |
| Microsoft Graph | Directory.Read.All | Read directory data |
| SharePoint | Sites.FullControl.All | Full control of all site collections |