Insall app in Microsoft Azure portal for SharePoint

  • Register app in Azure portal
    1. Open Microsoft Azure Portal

    2. Go to Microsoft Entra ID -> App registration

    3. Click New registration
      • Name: aizen-ai-app

      • Supported account types: Single tenant

      • Redirect URI: optional

      Click Register

  • Open the app (aizen-ai-app)
    1. Go to Certificates and secrets

    2. 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
    1. Go to API permissions

    2. Add a permission (Select Microsoft Graph)

    3. 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

    4. Grant admin consent (Should be done by an administrator)