cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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.

Anonymous
Not applicable

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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,053)