Forum Discussion
Automating File Sync Using OneDrive to SharePoint
It is like a migration from my file system to SharePoint. There is another service which pulls files from legacy system and place in local system. From there, I want an automation mechanism to push those files automatically to SharePoint Online document library. I hope you understand the flow now.
You can use the PnP script from below link for this purpose.
https://gallery.technet.microsoft.com/Bulk-upload-the-files-from-8932fc26
Also I would recommend you to go through the similar discussion from below link for limitations and how to overcome those in the script.
HTH.
- Arjun MenonMay 23, 2017Copper Contributor
Thanks for the lead. I did come across scripts using CSOM as well using PowerShell which can suffice the requirement. I was more or less trying to reduce the maintainability effort since any modification in hierarchy would need to alter the scripts as well which was not something which I was looking for.
Anyways thanks a lot for the leads. Appreciate it.