Below query is returning "item not found" but the user executing the query actually has access to SharePoint sites as well as is Admin of one of the SharePoint site.
Is there any specific permission required for this query to bring results?
1 answers
solution1
0 2023-01-30 11:54:53
If you switch to Modify permissions tab in Graph Explorer, you will see all permissions required for the current endpoint.
The endpoint GET https://graph.microsoft.com/v1.0/sites?search=* requires Sites.Readl.All or Sites.ReadWrite.All permissions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.