Insall app in Microsoft Azure portal for SharePoint
- Register app in Azure portal
Open Microsoft Azure Portal
Go to Microsoft Entra ID -> App registration
- Click New registration
Name: aizen-ai-app
Supported account types: Single tenant
Redirect URI: optional
Click Register
- Open the app (aizen-ai-app)
Go to Certificates and secrets
- Click new client secret
Copy the contents of secret value (get to see it only once) and store it in safe place
- Capture the information for the app as it is required for Authentication
Application (client) ID
Directory (tenant) ID
Client secret
- Add SharePoint API permissions
Go to API permissions
Add a permission (Select Microsoft Graph)
- Select Application Permissions (for backend services) - Microsoft Graph (if customer using Graph APIs) else provide access to SharePoint APIs
Sites.ReadAll
Sites.ReadWrite.All
Click Add
Grant admin consent (Should be done by an administrator)