Limited Permission Scope Sharepoint REST API

Tilly 1 Reputation point
2020-04-07T16:58:49.897+00:00

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 Monitored
Not Monitored
Tag not monitored by Microsoft.
35,941 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2020-04-07T17:10:32.883+00:00

    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)

    0 comments No comments