Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Capturing AssignedTo email

I'm using the template for due date reminder for Sharepoint Online tasks list.  This flow currently is sending myself an email.  I would like to send this email to the person assigned to the tasks.  And it could be multiple people.  I do not see AssignedToEmail field, only AssignedToName.  I'm guessing I have to use "get user profile" from O365 Users to grab the email and append it.  Not sure where to input that in the flow.  Any suggestions?  




Super User
Super User

Hi @S_Tran,

Because you can assign multiple people the AssignedTo field will also be an array. If you want to retrieve all e-mails in one string you could use a select and join the e-mails with a ; character.


Below is an example of that approach.


1. The Select uses the AssignedTo field from the Apply to Each. The select uses the item()['Email'] to retrieve the e-mail address of every user of that specific item.

    "inputs": {
        "from": "@items('Apply_to_each')?['AssignedTo']",
        "select": "@item()?['Email']"


2. The compose uses the expression below. The compose is just an example. You could also use that expression in a To field of an Send an email action.

join(body('Select'), ';')



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (5,122)