1

I am trying to get the user's group(s) for SharePoint online site using Microsoft Graph APIs. But I am not getting any equivalent graph API for the below SharePoint rest API :

/_api/web/SiteUsers/GetByEmail('xxxxx@xxxxx.com')?$expand=Groups

I want the SharePoint groups not the AD groups. Thanks in advance.

0

Microsoft Graph APIs does not support SharePoint groups yet.


Additional:

You can check below threads where others are suggesting to query "User Information List" to get the SharePoint site permissions (Which might not work for your case as you need groups of specific user):

  1. Get SharePoint Groups (not AD groups) using Graph API
  2. How to get SharePoint site group name using Graph API?
2
  • Thanks @Ganesh, I have tried the above ways, but those are giving me the User Information List, but not the user's group (to which it is belogs from SPO site).
    – sagarg
    May 10 at 15:14
  • That's what I thought & mentioned in my answer. Long story short, Microsoft Graph APIs does not support working with SharePoint groups of a user. May 10 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.