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
Continued Contributor
Continued Contributor

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
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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (44,844)