Forum Discussion
Swejal
Mar 19, 2025Copper Contributor
How to Configure Site Access with sites.Selected Permission
Hi. I am running a data pipeline that retrieves documents from SharePoint sites without requiring a signed-in user. Since authentication is handled within the data pipeline itself, how can the Share...
EPNAdam
Mar 20, 2025Iron Contributor
If this is a single site then you can use https://developer.microsoft.com/en-us/graph/graph-explorer and do something like https://devblogs.microsoft.com/microsoft365dev/sharepoint-now-supports-delegated-sites-selected-authentication/.
Please note: This requires that you have an service principal registered which requires certain permissions in your Azure tenant.
This depends on your solution, but if possible then use Managed Identity in first place. The above describes a simple approach for a single site and if your solution covers many sites then you should consider a more "production-ready" approach.