Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 2tpeBafJLxlKQV6iKq8GKa
Power Automate - Building Flows
Unanswered

Copy SharePoint List From One Site To Another

Like (0) ShareShare
ReportReport
Posted on 5 Apr 2024 12:30:13 by 26

Hello,

 

I am trying to copy a SharePoint list from one SharePoint site to another. I have it almost working it copies everything but a column with "Person or Group" type. I researched this a little and it was suggested that I use the Initialize variable followed by an append to array variable. The flow works but nothing populates for that particular column.  Flow looks like this:

 

ice2921_2-1712319982823.png

 

ice2921_4-1712320038117.png

So I don't think it's actually capturing the array/ contents of the column. Any thoughts? Thanks

  • Ellis Karim Profile Picture
    10,927 Super User 2025 Season 1 on 12 Apr 2024 at 15:31:38
    Re: Copy SharePoint List From One Site To Another

    Hi @ice2921 ,

     

    Unfortunately, the answer is no.

     

    When you set the value of a Person column, that person (i.e. user account) must already exist within MS 365 tenant (Azure AD/Entra ID).

     

    A workaround for you could be to create a new Text column, then populate that column with the display name of the account that don't exists in your MS 365 tenant.  This way, you wont loose this user account information.

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

     

     

  • ice2921 Profile Picture
    26 on 12 Apr 2024 at 12:12:15
    Re: Copy SharePoint List From One Site To Another

    how do i copy a user even if they dont exist? 

  • ice2921 Profile Picture
    26 on 11 Apr 2024 at 22:07:25
    Re: Copy SharePoint List From One Site To Another

    new error message: 

    The specified user [{"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser","Claims":"i:0#.f|membership|user@domain","DisplayName":"user, user","Email":"user@domain.com","Picture":"https://","Department":"","JobTitle":""}] could not be found.
    clientRequestId: e4331639-b9d2-48ad-82be-7e05018e1053
    serviceRequestId: ac151ea1-b0f0-0000-2c71-a72a71026cf4

  • Ellis Karim Profile Picture
    10,927 Super User 2025 Season 1 on 11 Apr 2024 at 19:04:13
    Re: Copy SharePoint List From One Site To Another

    Hi @ice2921 ,

     

    Based on what I can see from the output of the Compose action, please try: 

    Snag_4592f96.png

    Remember to switch map to text mode for the Select action by clicking the icon as shown below:

    Snag_459b417.png

    Here is the output from my demo flow:

    Snag_45b8127.png


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

  • ice2921 Profile Picture
    26 on 11 Apr 2024 at 17:36:30
    Re: Copy SharePoint List From One Site To Another

    dont know what im missing here

  • ice2921 Profile Picture
    26 on 09 Apr 2024 at 16:00:34
    Re: Copy SharePoint List From One Site To Another

    interestingly I can add the compose action and I get a green check mark:

    ice2921_1-1712677887007.png

    however, it fails if I add the create item action:

    ice2921_3-1712678382588.png

     

    ice2921_2-1712678284534.png

     

     

  • Ellis Karim Profile Picture
    10,927 Super User 2025 Season 1 on 08 Apr 2024 at 20:38:44
    Re: Copy SharePoint List From One Site To Another

    Hi @ice2921 ,

     

    Try searching for the Dynamic content using the search box:

     

    Snag_2a594b46.png

     

    If that doesn't work, add a compose action as shown below, then please share the runtime output of the Compose action:

     

    ice2921_0-1712525068004.png

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

  • ice2921 Profile Picture
    26 on 07 Apr 2024 at 21:24:42
    Re: Copy SharePoint List From One Site To Another

    Oddly enough I don't have a claims option for the filter array action:

    ice2921_0-1712525068004.png

     

     

  • Ellis Karim Profile Picture
    10,927 Super User 2025 Season 1 on 07 Apr 2024 at 15:44:40
    Re: Copy SharePoint List From One Site To Another

    Hi @ice2921 ,

     

    You could try the following flow:

     

    Snag_2420eb34.png

    Here are the actions within the Apply to each loop:

    Snag_2424674b.png

    Snag_242792d1.png

     

    Snag_2422f4fe.png


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

  • ice2921 Profile Picture
    26 on 07 Apr 2024 at 14:12:53
    Re: Copy SharePoint List From One Site To Another

    My flow looks like this from a high level: 

    ice2921_0-1712498835557.png

     

    There is a create item step after this but I removed it until i figure this issue out. If I run the flow as is right now i get the following error: 

    ice2921_3-1712499154369.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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard