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

Community site session details

Session Id : acJgia6zJjb7iydmwxMbes
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 24 Mar 2023 00:09:29 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!

 

I have the same question (0)
  • Egelerd Profile Picture
    5 on 24 Mar 2023 at 17:20:12
    Re: Sending email to SharePoint Group failed - Join function is not working.

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

  • Verified answer
    v-liwei-msft Profile Picture
    on 24 Mar 2023 at 02:32:18
    Re: Sending email to SharePoint Group failed - Join function is not working.

    Hi @Egelerd 

     

    You only need to modify the writing format in Select.

    vliweimsft_0-1679625032290.pngvliweimsft_1-1679625090715.png

     

    Best Regards,

    Levi

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard
Loading started
Loading complete