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

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
504 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
295 questions
No comments
{count} votes

Accepted answer
  1. ShivaniRai-MSFT 2,681 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 additional answers

Sort by: Most helpful