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