Is it possible to get SharePoint Permission groups(Not security groups) using MS Graph api?

Sadhu Sivakoteswara rao 26 Reputation points
2023-11-02T06:41:40.98+00:00

Hello All,

I want to get SharePoint permission groups using MS Graph api. is it possible to get group details? Please share if you have any details on that.

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. RaytheonXie_MSFT 40,481 Reputation points Microsoft External Staff
    2023-11-03T02:38:48.0866667+00:00

    Hi @Sadhu Sivakoteswara rao,

    Per my research, I do agree with Rob Windsor's answer. There is no such graph api currently. As a workaround, I would recommend you to use rest api to get groups in sharepoint site. Please refer to following api

    _api/web/SiteGroups
    

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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rob Windsor 2,006 Reputation points
    2023-11-02T07:51:02.3666667+00:00

    No, Microsoft Graph does not provide access to SharePoint permission groups. To work with SharePoint permission groups you would need to use the SharePoint REST API or Client Object Model (CSOM).

    0 comments No comments

Your answer

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