How to give the site permission (Access management) for any user using Graph API ?

Dnyaneshwar Surywanshi 41 Reputation points
2020-09-22T06:52:21.227+00:00

26338-sitepermission-1.png26339-sitepermission-2.pngstrong text

I want to add user in particular group of sharepoint site permission using graph API. Is any api supported this ?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,011 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,591 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,864 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Trevor Seward 11,691 Reputation points
    2020-09-22T14:55:33.21+00:00

  2. 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.