Share via

API Permissions

Roger Roger 7,631 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.

Microsoft 365 and Office | SharePoint Server | Development
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

Vasil Michev 127K Reputation points MVP Volunteer Moderator
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

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.