Not, Graph, but the older SharePoint REST v1 API can do this. This should get you started: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/set-custom-permissions-on-a-list-by-using-the-rest-interface#examples-set-custom-permissions-on-a-list-by-using-the-rest-interface
How to give the site permission (Access management) for any user using Graph API ?
Dnyaneshwar Surywanshi
41
Reputation points
strong text
I want to add user in particular group of sharepoint site permission using graph API. Is any api supported this ?
2 answers
Sort by: Most helpful
-
-
Amos Wu-MSFT 4,051 Reputation points
2020-09-23T06:17:29.113+00:00 Microsoft Graph only provide support operations on Microsoft 365 Groups.
You could use this Rest to add user to a group:post /_api/web/sitegroups/GetById(GroupId)/users
If the response is helpful, please click "Accept Answer" and upvote it.
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.