Limited Permission Scope Sharepoint REST API

Tilly 1 Reputation point

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.
37,137 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.4K Reputation points MVP

    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.

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

    0 comments No comments