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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Capturing AssignedTo e...
Power Automate
Unanswered

Capturing AssignedTo email

(0) ShareShare
ReportReport
Posted on by 164

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?  

 

S_Tran_0-1637763769022.pngS_Tran_1-1637763803586.png

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    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'), ';')

     

    retrieveandjoinemails.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard