Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Copying a Multi-Select Person Picker from One List to Another

(0) ShareShare
ReportReport
Posted on by 36

Hello,

 

I am trying to copy over a multi-select person field from one SharePoint list to another. I am also copying over various other columns, including multiple choice columns. I'm really struggling to copy over the multi person field. I've tried many things and the closest I've got is copying over one person's name for all of the entries or duplicating entries with different people's names attached to them. 

 

This is the flow I have:

 

Jacozin_0-1697640910995.pngJacozin_1-1697640955580.png

 

And then in the create item action: 

Jacozin_2-1697641024404.png

 

However, nothing seems to happen when I do this. I have another version which is slightly different which caused names to be copied over, but either one name was attached to each entry or entries were duplicated with different employees's names. Here is the flow for that:

 

Jacozin_3-1697641438110.png

expression: union(variables('varAllocUser'),variables('varAllocUser'))
 
Jacozin_4-1697641497198.png

Expression in filter array: string(item()?['Compliance_x0020_check_x0020_com'])

 

Jacozin_5-1697641666405.png

In the create item action, referencing the apply to each 4

 

 

Can anyone help with this?

  • RobA1 Profile Picture
    18 on at
    Re: Copying a Multi-Select Person Picker from One List to Another

    @v-xiaochen-msft 

    I followed your flow and it's partially working for me. How do I accomodate for persons that no longer exists? In the 1st list the persons listed may no longer be with the company. When I run the flow it fails in the Create Item, cause the individual no longer exists. So it doesn't copy the entry. This is the error i recieve.

     

    {
      "status"400,
      "message""The specified user i:0#.f|membership|xxxxxx@xxx.com could not be found.\r\nclientRequestId: a8c28ed9-c9ad-4542-becc-d5714c80ecb1\r\nserviceRequestId: b7c13aa1-a082-5000-f18f-3a9b448fca39"
    }
    Thanks,
    Rob
  • Neily53 Profile Picture
    3 on at
    Re: Copying a Multi-Select Person Picker from One List to Another

    Exactly the hint I needed, tysm!

  • v-xiaochen-msft Profile Picture
    on at
    Re: Copying a Multi-Select Person Picker from One List to Another

    Hi @Jacozin ,

     

    Thanks for your quick response !

    According to your description and screenshot , you said that you repeats the same employee's name for every entry.

    For your "create item" , it seems above it has the "Apply to each3" and you said that the "Apply to each 3" is nested inside the first 'apply for each' action.

    vxiaochenmsft_3-1697708085586.png

     

    I think that's what causes the duplication.My flow is like this , we do not need to use the "Apply to each" above the  "create item" :

    vxiaochenmsft_4-1697708085589.png

     

    The create item need to be existed in each row and not need to repeat the iteration. And the variable is used to store the each Persons we selected each row!

    vxiaochenmsft_5-1697708085591.png

     

    Best Regards,

    Wearsky

  • Jacozin Profile Picture
    36 on at
    Re: Copying a Multi-Select Person Picker from One List to Another

    Hello, thanks for responding!

     

    I tried this but it repeats the same employee's name for every entry rather than copying over the right employee for each case. Here's the flow:

     

    Jacozin_0-1697706031929.pngJacozin_1-1697706554859.pngJacozin_2-1697706682414.pngJacozin_3-1697706843065.png

    And then in the create item action:

    Jacozin_4-1697706917340.png

     

    I have no idea what else to try at this point. I'm wondering if it's something to do with the apply for each actions being nested inside each other. The 'apply for each 5' and 'apply for each 3' (see flow above) are both nested inside the first 'apply for each' action.

     

    Any help on this would be greatly appreciated as it's become a huge source of frustration for me.

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Copying a Multi-Select Person Picker from One List to Another

    Hi @Jacozin ,

     

    This is my raw sharePoint list with a Multi-Select Person :

    vxiaochenmsft_0-1697686015108.png

     

    And this is my target  sharePoint list with a Multi-Select Person :

    vxiaochenmsft_1-1697686015109.png

     

     

    This is my flow:

    vxiaochenmsft_2-1697686015110.png

     

     

    (1)Get items step :

    vxiaochenmsft_3-1697686015112.png

     

    (2)Initialize variable step :

    vxiaochenmsft_4-1697686015113.png

     

    (3) "Apply to each 2" step :

    vxiaochenmsft_5-1697686015118.png

     

    vxiaochenmsft_6-1697686015122.png

     

     

    The result is as follows:

    vxiaochenmsft_7-1697686015123.png

     

    Best Regards,

    Wearsky

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >