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

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

Upvotes

Upvote

 Feb 10 2023
0 Comments 
New

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.