Warm tip: This article is reproduced from serverfault.com, please click

How to obtain ACLs for different sharepoint sites

发布于 2020-11-07 03:53:16

Using the graph API or sharepoint REST APIs, is there a way to obtain, for each site, the list of users/o365 groups that are allowed read access to the site?

We are able to obtain the list of sites using the graph API GET /sites?search=* but cannot find a way to get the list of users allowed to access each site (except for Sharepoint team sites associates with o365 groups that we can enumerate using GET /groups/{group-id}/sites API call.

We are building a server side application so need to do this from the server using application-level permissions, and not from the client.

Pointers for how to do this are greatly appreciated!

Questioner
Vishwanath T R
Viewed
0
Shiva Keshav Varma 2020-12-03 19:21:00

Looks like there is no such endpoint that gets the site permissions and there are few uservoices here that are close to your scenario. Please upvote them so that it could be developed by the product team in future.