SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,820 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
I have created a service principal in Entra and this will be used by power automate or ADF to connect to a particular sharepoint online site to read and copy files from the sharepoint online.
Could you please tell me what permissions are required :
Thanks!
Hello Sourav,
To connect a service principal to a specific SharePoint Online site and allow it to read/copy files, follow these steps:
Sites.Read.All
: General read access across SharePoint.Sites.Selected
: Allows limiting access to specific sites. Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Connect-SPOService -Url https://[your-tenant-name]-admin.sharepoint.com
Grant-SPOSiteDesignRights -Identity "[Site URL]" -Principals "[App ID]" -Rights View
If the information helped address your question, please Accept the answer.
Luis