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
Super User II
Super User II

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.

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (55,624)