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 Sharepoint Librar...
Power Automate
Answered

Copy Sharepoint Library to New Library

(0) ShareShare
ReportReport
Posted on by 286

Hello,

         I am looking for a little help copying a SharePoint library to a new SharePoint library. I have been able to create a flow that does this but i am having a little trouble.

1.PNG

 

My source library contains folders for each library item. What i am looking to do i copy the only the files from the source library not the folders and copy them to a new SharePoint library.

I have found many guides that show you how to copy keeping any folder structure, but none that show you how to just copy the files. 

folderstructure.PNG

Can anyone provide any assistance for how to accomplish this. 

Categories:
I have the same question (0)
  • Verified answer
    stephenJames Profile Picture
    286 on at

    I have managed to get this working. 

     

    For anyone interested in a solution to this. 

     

    Under the "Get File (properties only)" action, expand it and enter into the "Filter Query" field "ContentType ne 'Folder'". This will filter all the items and return only those that are not equal to a folder.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard