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 Automate / Copy Folder with files
Power Automate
Unanswered

Copy Folder with files

(1) ShareShare
ReportReport
Posted on by 438

Hello All,

 

I want to copy all folders from the library with a subfolder and files from one SharePoint to another using flow.

It's like copying the entire library as it is. Clone library from one site to another.

 

I am getting root folder not found error at destination site.

 

I have 2 different sites.

 

 

Please help.

@CFernandes , https://powerusers.microsoft.com/t5/General-Power-Automate/Copy-Folder-with-Files/m-p/1303977#M79242 this help when copying files on same site but when I change the site it gives error. Please help.

 

 

 

Thanks in Advance.

Categories:
  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Hey @vish3027 

     

    What is the Error? 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • vish3027 Profile Picture
    438 on at

    @CFernandes root folder not found at destination site.

    Source library name and destination library name are different.

     

    At destination i am using default documents library. Tried to use create folder before the create file, also tried copy file but nothing works.

     

    Same error root folder not exist or path errors.

     

    In flow runs i can see correct paths but gives error.

     

    Thanks

     

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    Hey Mate,

     

    You error does not provide me complete context - The problem is with the paths... 

     

    With reference to your error the document library name is also part of the folder path in SharePoint. 

    /Shared Documents/Test/...

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • vish3027 Profile Picture
    438 on at

    @CFernandes , Can i exclude source library name from folder path?

    Source library : Documents1 -> folder

    Destination library : Documents2

     

    After copy : Documents2 -> Documents1 -> folder but i want  Documents2 -> folder

     

    Thank You

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard