lukas1275's avatar
lukas1275
Copper Contributor
Feb 10, 2023
Status:
New

Retrieve all granted sharepoint sites with sites.selected permission (Graph API)

Currently, it's only possible to retrieve all the sharepoint sites using the Sites.Read.All permission.

https://learn.microsoft.com/en-us/graph/api/site-search?view=graph-rest-1.0&tabs=http

 

There is currently no way to detect which sites have been granted to an Azure AD App Registration using Sites.Selected.

1 Comment

  • paulpascha's avatar
    paulpascha
    Bronze Contributor

    We have an app with access to a subset of sites in our environment using sites.selected. We simply want to read the list of all sites our app has access to. There still seems to be no easy way to achieve this.