cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
irene
Frequent Visitor

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
v-bacao-msft
Community Support
Community Support

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.

@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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (66,699)