cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Sharepoint "Copy Folder" step not copying the entire document library

I've configured a step to copy my SharePoint "Shared Documents" library folder to a backup subfolder in a library on a different site. The step was successful when I tested it on a subfolder within the library I want to copy, which only contained one file. However, when I changed it to copy the entire "Shared Documents" library folder, it started failing with the error "Source or Destination likely invalid. Check that the file exists and has an SPListItem."

 

Changing the "If another folder is already there" option does not help. The library has about 4,000 files.

 

Can you tell me whether Flow has the capability to copy the entire document library to another site's library? If so, any ideas on why it might not be working in my case?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Sharepoint "Copy Folder" step not copying the entire document library

 

Hi @Anonymous ,

 

I suggest you copy the entire document library to another site's library directly using the functionality of SharePoint itself.

Since there are a lot of files in the Library, if you use the Copy folder, we can't avoid the problem of time out or the number of files exceeding the limit.

Please check this link and see if it helps:

https://social.technet.microsoft.com/Forums/sharepoint/en-US/857b5446-2a0b-415a-86f9-caaf310cace5/copy-document-library-to-different-site-collection?forum=sharepointadminlegacy

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Sharepoint "Copy Folder" step not copying the entire document library

@v-bacao-msft,

 

Thank you for your reply. However, this would not accomplish my purpose. I'm not going for a one-time copy, but rather an automated weekly backup. Timeout isn't the problem as the flow fails instantly when it hits that step. Is there a limit to how many files can be copied? What is that limit?

 

Kaden

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,318)