Forum Discussion
DH_Savage
Jul 08, 2019Copper Contributor
script to copy files from on premise file server to SP ONLINE
0 I have a script that I found in many forms online that I re-tooled to work in my environment. The purpose of the script is to copy files from local File Server ...
Doug Allen
Jul 15, 2019Iron Contributor
Did you give these named users Contribute or Edit permissions? The members group has Edit by default and I've seen strange behavior if you drop to Contribute.
DH_Savage
Jul 17, 2019Copper Contributor
yes the User that I use to Connect to Sharepoint is in the "Owners" group for that document library.
I have even explicitly granted it Full control over the library.
- Doug AllenJul 17, 2019Iron Contributor
Besides the script, was there a reason why you weren't using the free SharePoint migration tool to migrate the files instead of the script?
https://docs.microsoft.com/en-us/sharepointmigration/fileshare-to-odsp-migration-guide
- DH_SavageJul 17, 2019Copper Contributor
Yeah, trying to automate it, schedule it for when a file is created in the on prem directory.