How can I get SharePoint site group members using Graph API?

Lauren A. Weisenfluh 96 Reputation points
2021-04-12T23:07:18.61+00:00

I am trying to obtain all members of a SharePoint Site security group via Microsoft Graph API. I've been able to access our site's User Information List and locate the specific SP security group in the User Information List. However, I cannot expand the item to see who is in the SharePoint Site security group. How can I obtain SP site group members using Graph API? Is it possible to expand that item from the User Information List? Any insight is welcome! Thank you.

proc http url="https://graph.microsoft.com/v1.0/sites/root/lists/{User Information List ID}/items/{item ID, 5831 in this example}?expand=fields"
oauth_bearer="&access_token"
out=items;
run;

Microsoft Graph Security API
Microsoft Graph Security API
A Microsoft API that provides a unified interface to connect security solutions from multiple Microsoft and third-party providers.
102 questions
No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. Danstan Onyango 3,236 Reputation points Microsoft Employee
    2021-04-14T13:58:35.853+00:00

    Have a look at list group members for M365 or Security group members.


  2. 2021-06-16T15:10:46.7+00:00

    @Lauren A. Weisenfluh do you managed to get a solution?

    No comments