how to grant permission to Azure Managed Identity to SharePoint online Site?

mahesh kandharkar 15 Reputation points
2023-04-04T14:15:14.33+00:00

how to grant permission to Azure "Managed Identity" to SharePoint online Site?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-04-04T16:07:45.29+00:00

    To grant permissions to a SharePoint Online site for an Azure Managed Identity, you'll need to create an Azure AD App Registration for your Managed Identity and grant the necessary permissions to that app in SharePoint Online

    • Create an App Registration in Azure AD
      • Azure Active Directory > App registrations
      • New registration > Note the "Application (client) ID" and "Directory (tenant) ID" values
    • Assign the necessary permissions to the App Registration in SharePoint Online
      • SharePoint Online site. > Site permissions > Advanced permissions settings
      • Grant permissions > Select Users > client_id@tenant_id
    • Configure your Azure service to use the App Registration
      • In your Azure service, update the configuration to use the App Registration's "Application (client) ID" and "Directory (tenant) ID" for authentication with SharePoint Online.
      • Use the SharePoint Online REST API or the Microsoft Graph API to access SharePoint Online resources, authenticating with the App Registration's credentials.
    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.