Showing results for 
Search instead for 
Did you mean: 
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?

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:


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.
Not applicable

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



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?



Helpful resources


Better Together Contest Finalists Announced!

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


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


New & Improved Power Automate Community Cookbook

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


Power Automate Community User Group Member Badge

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


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)