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

Mirror/Copy OneDrive Folder to Sharepoint, including subfolders and files

I only see the ability to copy files from OneDrive, not folders. I have a folder with several subfolders, all with dozens of files. I want to mirror this OneDrive (for business) folder with Sharepoint. Ideally, it would trigger when a new file is uploaded to OneDrive, but even if it just worked on a scheduled basis everdya and overwrote the path every time.

 

This MUST be simple but I'm new to this. Thoughts?

1 REPLY 1
Jronash
Solution Supplier
Solution Supplier

Seems simple, but it's not.  You can use List Folders to get your folders, and then loop the results to move the files within each folder.  But if you have subfolders multiple levels deep, you will also need to keep nesting loops within loops.

 

It's possible to do this using some SharePoint HTTP requests, but that's not for the faint of heart.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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