How to use a managed identity to connect to Sharepoint?
I need to connect to Sharepoint online to transfer files from my Azure Logic Apps.
I understand the standard connector only supports a method based on a Service Account registered on Azure AD.
Is there any plan to support managed identities or enterprise app registration in future?
As an alternative, is there any more or less official example showing how to use other means, such as Graph APIs?
Thanks
Hi Viktoriya, thanks for reaching out.
The alternative would be leveraging the Graph API for SharePoint in logic app. Here are some of the reference documents on how to Grant Graph API Permission.
- https://techcommunity.microsoft.com/t5/azure-integration-services-blog/grant-graph-api-permission-to-managed-identity-object/ba-p/2792127
- https://techcommunity.microsoft.com/t5/azure-integration-services-blog/calling-graph-api-from-azure-logic-apps-using-delegated/ba-p/1997666
- https://wilson-reddy.medium.com/access-sharepoint-content-using-graph-api-with-site-level-permissions-8e4c97d6094c
If you have any questions, don’t hesitate to ask, we’re here to help you further if needed.
Your VAF Team.