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 / Extracting array value...
Power Automate
Answered

Extracting array values into delimited string in To filed of Outlook email

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I've a Azure Kusto query connector that returns the results, one of whose fields in an email alias. I need to concat the email alias and append with @microsoft.com  and add it to a Outlook Send an email action in the To field.

 

Can someone help how to I achieve this?

 

I added a Select Data Operation to the output of the Kusto query results and mapped the email alias on a property. It rurns a json with teh property name and the value. I'm unable to extract the value for each of those properties and create a semi-colon delimted alias with @microsoft.com and use that in the To filed. 

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

    Hi @rnagpal,

     

    Could you please share a screenshot of the configuration of your flow?

    Could you please share more details about the results returns returns from the Azure Kusto query connector?

    Do you want to get all values of a column and append each with @microsoft.com, then send an email to those email address?

     

    If you want to get all values of a column and append each with @microsoft.com, then send an email to those email address,I have made a test on my side to create a sharepoint list with a single line of text column "EmailName"as below:

    Capture.PNG

     

    And I have created a flow as below:

    Capture.PNG

    Capture.PNG

     

    You could insert the column's dynamic content of the Azure Kusto query in the Compose field.

     

    Note:

    The expression in the Compose 2 as below:

    concat(outputs('Compose'),'@microsoft.com;')

     

    The flow would run successfully as below to send the email to the users:

     Capture.PNG

     

     

     

     

     

     

     

     

     

     

     

     

  • rnagpal Profile Picture
    Microsoft Employee on at

    Thanks @v-yuazh-msft for your suggestion.

     

    I ended up appending the @microsoft.com to the "alias" property in Apply to each  and then using that array variable as an Input to teh COmpose action followed by passing it to teh Join action by providing the ; as the delimiter and using teh output of this in teh To field of Send an email action of Outlook.

     

     

    Flow.PNG

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard