web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard