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 / Copy DisplayName from ...
Power Automate
Answered

Copy DisplayName from multi-select person field as a string to a text field in SharePoint list

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I have a SharePoint list with two columns: Project Team (person field) and Project Team [for archive] (text field). The reason is that I need the names of the Project Team if their user is deleted when they quit in the company. 

 

I am trying to create a flow that does the following: When a new item is created in the SharePoint list, take the DisplayName from the the multiple users in the Person Team column and add the names as text in the Project Team [for archive]. The flow I made runs successfully but the text column (Project Team [for archive]) remains empty. Anyone who can help? 

 

Thanks in advance! 

Flow Detailed 1.png
Flow Detailed 2.png
Flow.png
Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    HI,

     

    Sorry the darn images won't load so I cannot see.

     

    I am also going to assume that this is a Triggered Flow of "When a new item is created or modified" since I cannot see the flow images.

     

    Step 1. Add an Initialize Variable

    -Name : DisplayNames

    -Type: String

    -Value:  (nothing leave it blank)

     

    Step 2. Add a Compose

    -Click into the inputs, and when the Dynamic Properties window pops up, you need to look for your Column but with the Display Name on it.

    Like mine.

    My column is called Service Tech, but I select Service Tech Display Name.

     

    As soon as you do this the flow will intentionally create an Apply to each (since display names is an array).

    The Input will now be called Service Tech (in my case, because it knows DisplayName comes from the Service Tech array)

     

    Inside the Apply to each it will add a Compose (to represent the one you created), and inside that it will change it to say Service Tech DisplayName

     

    Inside the Loop, delete the Compose

    Now inside the loop add a "Append to string variable" action

    for the variable Name select your DisplayNames

    for the value you need to select from the Dynamic Properties (once again) Service Tech DisplayName which will NOT create another array this time. It will simply put the property there.

    After that type a , (yes a comma)

     

    Now outside the loop

    add a Compose

    in the compose but the Dynamic Properties output of your Variable. You will see it has all the names concatenated with a ,

     

    like mine

    FLMike_0-1696262727317.png

     

    Remember you do not add the apply to each, just follow the instructions 1 by 1 and it will work for you. Please remember to replace your field name from mine.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

  • Linn1 Profile Picture
    10 on at

    Worked! Thank you!

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 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard