cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zavulon555
New Member

Copy folders with content from OneDrive/SharePoint to FileSystem.

Hello. 

 

I recently discovered Power Automate and came across this question. Is there any way to copy a folder with all its subfolders and files from OneDrive\SharePoint to FileSystem?

For example I have Master Folder that contains subfolder with subfolders and files. Something like this: MasterFolder > Subfolder > Subfolder1, Subfolder2, Subfolder3. I need copy Subfolder with its Subfolders from Master Folder to another folder on File System.

1 ACCEPTED SOLUTION

Accepted Solutions

There are several actions on the OneDrive and SharePoint connectors that gives you the directory names. You could then create variables for those returned attributes and parse those in to new file create actions. See:

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE.

View solution in original post

3 REPLIES 3
Brad_Groux
Community Champion
Community Champion

Why not just use the OneDrive for Business system sync client?

With that said, you may review the OneDrive for Business connector documentation for a full list of the capabilities. To store files locally via the file system you'd have to utilize the On-Premises Data Gateway. You could then utilize the File System connector for saving to local system files.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE.

Everything you wrote is relevant for copying files. And I need to copy the folder structure with the files inside these folders.

There are several actions on the OneDrive and SharePoint connectors that gives you the directory names. You could then create variables for those returned attributes and parse those in to new file create actions. See:

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,443)