cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
irene
Level: Powered On

Email sharepoint group

Hi, 

l am trying to send an email to sharepoint group, i used Send an HTTP request to sharepoint to get the emails,

_api/web/sitegroups/getbyname('GroupName')/users?$select=Email

then Parse Json but i get the error: ExpressionEvaluationFailed. The execution of template action 'Apply_to_each_10' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON')?['d']?['results']' is of type 'Null'. The result must be a valid array.

in the output the email exists, the SP Group is not empty.

but flowproblem.PNG

2 REPLIES 2
Community Support Team
Community Support Team

Re: Email sharepoint group

Hi @irene ,

 

You could consider using the action provided by Office 365 group connector to get the user's email.

 

  • Configure List group members action, select the specified SharePoint group, and then send an email to the user.

28.PNG

  • Or just send an email to all users, as below:

29.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
casueps
Level: Powered On

Re: Email sharepoint group

@v-bacao-msft , does the drop down list show your Sharepoint Groups? In my case it only shows my Office 365 groups (aka the Outlook ones)

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,875)