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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sending email to Share...
Power Automate
Answered

Sending email to SharePoint Group failed - Join function is not working.

(0) ShareShare
ReportReport
Posted on by 5

Hello, can somebody please help me?

 

I'm trying to build a flow to send an email to everybody in my SharePoint group. I followed some instruction on the internet and used Send HTTP Request action, Select data operation, Join data operation, and then Send an Email (V.2)  using the output from the Join step. 

 

From what I can tell, the output came out of the Select data step as array successfully (or maybe I'm wrong), but for some reason, the Join operation doesn't work as it should, it doesn't format the array as the string of email (separated by semi-colon) like what people on the internet said. If somebody could please take a look and tell me what I did wrong, that would be greatly appreciated!

 

Here is my flow

Egelerd_0-1679615494614.png

 

Egelerd_2-1679615546572.png

Egelerd_3-1679615631311.png

 

the expression on the From line is body('Send_an_HTTP_request_to_SharePoint')?['d']?['results']

and on the Map line is item()?['Email']

 

on the Join step, I used the dynamic content of Output from the Select step and put in semi-colon on the Join With line

Egelerd_5-1679615763283.png
Egelerd_4-1679615710234.png

 

and then on the sending email step, I used the output from the Join step, and I got this huge error.

Egelerd_6-1679615906986.png

 

 

It looks like the Output from the Join step didn't come out in the email address format, but came out still looking like objects. 

 

 

And I'm pretty sure the Output from the Select data step came out an array as it's wrapped in [ ]. 

 

I don't know why the Join function wouldn't treat it as array, anybody can help shed some light?

 

Thanks!

 

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Egelerd 

     

    You only need to modify the writing format in Select.

    vliweimsft_0-1679625032290.pngvliweimsft_1-1679625090715.png

     

    Best Regards,

    Levi

  • Egelerd Profile Picture
    5 on at

    OMG! @v-liwei-msft it's working! Thank you so much! 😃

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard