API Permissions

Roger Roger 4,951 Reputation points
2021-05-03T08:05:56.683+00:00

Hi All

I want to give API permissions to one SharePoint site i.e i have created a new application using Azure App Registration and i have given the API permissions as Sites.Read.All & Sites.ReadWrite.All. if i give these permissions i.e once i provide admin consent. it will be applicable to all SharePoint sites in my tenant but i want to control it to only one SharePoint site. How do i do it

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
208 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,573 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,442 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 95,096 Reputation points MVP
    2021-05-03T11:56:36.783+00:00

    Graph permissions are tenant wide, although some workloads offer additional restrictions. In the case of SPO, you can use the recently introduced Sites.Selected scope, read here: https://www.michev.info/Blog/Post/3256/limiting-access-to-sharepoint-online-resources-via-the-graph-api


0 additional answers

Sort by: Most helpful