Can add and grant permission to O365 group in sharePoint online sites?

Tran Phuoc Khanh Luan 1 Reputation point
2020-11-02T14:27:10.333+00:00

Can add and grant permission to O365 group in sharePoint online sites?
Hi everyone,

I have some O365 groups. Can I add and grant permission for O365 group to SharePoint online site use Power Automation Flow or use Rest API ?

Please help me.

Thank you

John

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,685 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChelseaWu-MSFT 6,326 Reputation points
    2020-11-03T03:04:32.583+00:00

    Hi John,
    Here is a reference on granting or revoking user/group permissions using Power Automate: Add and remove users to a SharePoint site using Microsoft Lists and Power Automate.

    I have tested using an O365 group and it works as expected. The Group and Action columns are both Choice columns as is referred to the tutorial article.
    Remember to allow selection for "People and Groups" under Additional Column Settings for the Person or Group column so that it will accept group values.

    37031-screenshot-2020-11-03-105230.png

    Please note that this is not a perfect solution since it uses the SharePoint group name to get the group Id, so that it will only function if the SharePoint group names are formatted as “SiteName Owner/Members/Visitors” (the default SharePoint groups).

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer 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. **


Your answer

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