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 Apps / Populate users to Peop...
Power Apps
Answered

Populate users to People picker field

(0) ShareShare
ReportReport
Posted on by 55

Hi,

 

I am new to Power Apps. We have SP list1 with comma separated user emails in SLT field (User1@onmicrosoft.com;User2@onmicrosoft.com;User3@onmicrosoft.com; etc).

We need to populate the People picker field in SP list 2 with above users when user opens the Power App form.

 

Any idea on this. Thank-you

Categories:
  • moritz0815 Profile Picture
    201 on at

    There you can find a great blog post, where you can see how your can patch data to complex columns in SP lists. There is also an example for the person column. 

    https://rezadorrani.com/index.php/2020/05/04/power-apps-patch-function-with-sharepoint/ 

  • BenWip Profile Picture
    55 on at

    Hi @moritz0815  , Thank-you for the reply. Can you please explain how to loop through the comma separated values as mentioned above and populate it in People picker field.

     

    Thank-you in advance.

  • moritz0815 Profile Picture
    201 on at

    You could do the following:
    1. Load the semicolon separated values ​​into a collection.
    2. Use ForAll in combination with Patch to patch each of the unique values ​​into the Person column.

  • Verified answer
    moritz0815 Profile Picture
    201 on at

    You could do the following:

    First Add Office365 User Connector
    Then you make a collection from your string.

     

    ForAll(Split(varString;";");Collect(colUsers;{User: Value}))

     

    Then you create a second collection in which the data for the person picker column is kept.

     

    ForAll(colUsers;Collect(colPatch;{
     Claims: "i:0#.f|membership|" &
     User ;
     Department: "";
     DisplayName: 'Office365-Benutzer'.UserProfile(User).DisplayName;
     Email: User; 
     JobTitle: "";
     Picture: ""
    }))

     

    Rename 'Office365-Benutzer' what is the German name of the Office365 User Connector.

    Finally, you patch the collection you just created.

     

    Patch(YOUR LIST;THE RECORD YOU WANT TO PATCH;{'Person Column Name': colPatch})

     

     Please note that I used German syntax. So you have to replaced ; with ,.

    If that doesn't help, it would also be possible to create a PowerAutomate flow that is triggered when the app is opened. This should then fill out the Person Picker Column appropriately.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard