How to Get ACL for Sharepoint Online Site using Graph API

Faris Malaeb 46 Reputation points
2022-08-18T12:03:53.95+00:00

HI
I am trying to find the endpoint or the possibility to list SharePoint site ACL, Which user has what access using Graph.
Is there such an endpoint on Graph API
I am trying to use PowerShell. I tried get-MgSite -All with an application auth. but all the permissions fields are empty, even after I included the properties..
Thanks

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,271 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,826 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShivaniRai-MSFT-7217 2,741 Reputation points
    2022-08-18T13:50:20.627+00:00

    Hi @Faris Malaeb ,

    Currently using Graph API, you can either get site permission and get drive item permissions, fetching permissions for list or library is not supported. You can upvote this feature request for list permissions user voice.

    Please check this Similar Post.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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