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 / Trying to pull Display...
Power Automate
Unanswered

Trying to pull DisplayName from Person or Group from a Sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone,


I have a Flow that runs when an item is modified in a SP list. The original list has two Person or Group fields, one for Manager and one for Director.

 

The flow sends an email and both in the To: and Body: fields, I need to be able to put the Manager and Director fields. 

When I try to do this, I get multiple options, such as Director DisplayName (for the body message).


When I choose this, the action automatically transforms into an Apply to Each action. Can I prevent this? Because if I run the flow like this, while it actually pulls the name correctly, it continues doing it for each item on the list and of course I get 30+ emails in my inbox if I don't stop the flow.

 

What am I doing wrong? Please help.

 

 

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Are you trying to send an email to both the Manager and Director? Could you show me a screenshot of your flow?

     

    I created a simple flow to test this issue. There are two Person and Group fields in the list named as Manager and Director. In the To field of the action Send an email, select dynamic contents Manager Email and Director Email. I didn’t get an Apply to each action on my side.

    1.PNG

     

    Please feel free reply if you need more help.

     

    Best regards,

    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yikes, I wonder if it's how my organization is setup?

    I have tried both Chrome and Edge and the same thing happens. I used to get a notification saying why it was automatically created, but I dismissed it and I don't know how to make the message show up again.

     

    Here's what it looks like before and after.

     

    Here I try to place "Director DisplayName" where the cursor is:

     

     

     

     

    Immediately after selecting it, this happens:

     

     

     

    As you can see, it puts the "Send an email" inside the "Apply to each" step. And if I keep adding other fields such as Manager DisplayName, it keeps creating additional "Apply to each" steps within each other as so:

     

     

    Interestingly, once I've added one, any other fields related to it, no longer create instances. For example, if I put "Manager DisplayName", it creates the Appy to each step. If I continue to add "Manager email" or "Manager Department", it no longer adds an Apply to each step.

     

    Thank you for your assistance so far.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I created a new flow, and it has the same behavior, but this time I got the pop-up notification to show up:

     

    Flow4.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I created a NEW list and it actually works there. So it's definitely related to how the list is built I guess. 

    If you need more information please let me know.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard