web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

Power Automate get SharePoint Group Members & flow code snippets

RezaDorrani Profile Picture Posted by RezaDorrani 12,143

In this video on Power Automate get SharePoint Group Members & flow code snippets, we will go through a step-by-step tutorial of how to get users/members from a SharePoint group.

 

We will also look at how to share flow code snippets with users within or outside your organization. Code snippets basically mean sharing parts of your flow with other users. Flow snippets uses the flow copy to my clipboard action.


Thanks,
Reza Dorrani, MVP
YouTube
Twitter

Video covers the following:

✅ Get Members from SharePoint Group

✅ Flow Code Snippets - copy to my clipboard action

✅ Get Members of Office 365 Group or Azure AD Group

✅ Sample Snippets to download

 

Links: https://github.com/rdorrani/Microsoft-Flow/tree/master/FlowSnippets   

 

 

Categories:

Comments

  • mariagiugno Profile Picture mariagiugno 23
    Posted at
    Power Automate get SharePoint Group Members & flow code snippets

    Can you getByName for more than one permission group? 
    _api/web/siteGroups/getByName('Entity')/users

    This Uri allows for only one Permission group.
    Thank you

  • MrYed Profile Picture MrYed
    Posted at
    Power Automate get SharePoint Group Members & flow code snippets

    Hello;

    Inside the _api/web/sitegroups(119)/Users group, innovation.group Members There is another group called But this code (_api/web/sitegroups(119)/Users) only returns contacts. How can I reach the group within the group?

  • David- Profile Picture David- 1,254
    Posted at
    Power Automate get SharePoint Group Members & flow code snippets

    This works great, although it seems something changed since you created the video. I needed to use the following expressions for the Select Email step: body('SharePoint_Group_Members')?['d']?['results'] as when I exposed the code from the prior step there was nothing listed with 'outputs'.

  • ViralNaik Profile Picture ViralNaik 1
    Posted at
    Power Automate get SharePoint Group Members & flow code snippets

    I think you will need to change the Uri to 

     _api/web/sitegroups/GetById(699)/users

     

  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted at
    Power Automate get SharePoint Group Members & flow code snippets

    I figured it out, I had "site" instead of "web"

  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted at
    Power Automate get SharePoint Group Members & flow code snippets

    Hello Reza, 
    Another great teaching video concerning Power Automate.
    I am having some difficulty implementing this and hope you can assist.

    Chrislond58_0-1620322927236.png

     

    Any help is appreciated!