question

Tilly-3042 avatar image
0 Votes"
Tilly-3042 asked ·

Limited Permission Scope Sharepoint REST API

I have an application that needs to create a folder structure in a document library on a SharePoint site without a user, however I'm not able to obtain application API permissions Files.ReadWrite.All and Sites.ReadWrite.All due to corporate policy since this would effectively allow access to all sites. Is there a way to create folders in a document library using the REST API without access to all site collections but rather a specific site?

Application is registered in AAD attempting to use Microsoft Graph REST API via OAuth 2.0 client credentials grant flow. I don't work with SharePoint/OneDrive often, so any guidance is appreciated.


not-supported
10 |1000 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.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

QnA currently supports the products listed in right-hand pane (more to be added) Better to reach out to subject matter experts in dedicated forums over here.

https://social.technet.microsoft.com/Forums/sharepoint/en-US/home?category=sharepoint

(please don't forget to mark helpful replies as answer)


·
10 |1000 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.