cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dhirenk
Helper II
Helper II

Getting group members by office 365 group name in Flow

Hi,

 

I have SharePoint column which takes multiple people or groups. I want to send an email to all members of listed groups.

I know Flow offers List group members but it only accepts group ID.

groupmembers.PNG

How can I get Flow loop through through all values in SharePoint list column and if it is group, get all of its members?

 

Any help will be appreciated. 

Many thanks in advance.

 

4 REPLIES 4
efialttes
Super User
Super User

Hi!

So you just have the GRoups name, right? Assuming you are owner of member of such group I would try the following approach

Flow_getMembersListByDynamicGroupName.png

Just replace 'JFTestTeam' and type your target group name instead

Hope his helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Hi @efialttes 

 

Thank you for your help here.

Is there any way to get group members if I am not a member of the group? I am building a flow where user would pull any group from Office365 tenant and send its members sign-off email. 

alexander_r
Frequent Visitor

Same question. For a QM system I have to create sign-off tasks for every member in one (or more) office 365 groups.
Using the Groups claim won't work with the "List group members" action, because it asks for the group ID.

alexander_r
Frequent Visitor

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,302)