question

berserkersap avatar image
0 Votes"
berserkersap asked berserkersap edited

How to give Sharepoint folder granular access to a Service Principal

Our team is working to get data from Sharepoint to Azure blob storage. We decided to use ADF as logic apps has size limitations.

The doc referred is Microsoft Docs

To complete this solution, we need to give the sharepoint site full access to the application registered from azure portal. ("https://[your_site_url]/_layouts/15/appinv.aspx")

However, there are some folders with restricted content which we don't want to give access to (app).

So is there any way to give the app access to only specific folders in the sharepoint site ?


azure-data-factoryoffice-sharepoint-onlineazure-active-directory
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @berserkersap - Ask was more on sharepoint side to contraol access of app to specific folders in sharepoint site. Could you please try posting ask in Sharepoint tech community platform?
https://techcommunity.microsoft.com/t5/sharepoint/ct-p/SharePoint

1 Vote 1 ·
0 Votes 0 ·

1 Answer

AndyDavid avatar image
1 Vote"
AndyDavid answered berserkersap edited
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you Andy for answering

I have checked that article before and have also checked it once more after you have pointed out. However, I don't think it is the solution.

The article says using Microsoft Graph we can give access to specific site collections and it is not the same as giving access to specific folders. It is just saying you can give access to particular sub site under a tenant .

We can already give access to specific sub site but we need to give access for a particular folder under a sub site.

0 Votes 0 ·