Thank you for visiting my site!

Home / Power Automate - Flows / Get users From a Group – Loop api result get values out

Get users From a Group – Loop api result get values out

Original post: https://blogs.perficient.com/2018/09/20/send-a-flow-approval-to-a-sharepoint-groups-members/

  1. create a string variable: strEmailList
  2. send an http request: _api/web/sitegroups/getbyname(‘group name’)/users
  3. to get the results: add -> control -> for each

    the output: body(‘GetGroup’)[‘d’][‘results’]
  4. get the user email – items(‘LoopUsers’)[‘Email’] and build the strEmailList
  5. add a ‘;’ after each user to strEmailList
  6. use the result to send email.

 

 

 

 

 

ADD YOUR COMMENT