I was reading this article @ Copy a folder from one library to another and maintain permissions on the folder structure which shows how we can use power-shell commands to move files between SP on-premises libraries and preserve the files/folders permissions.

but i am searching for similar script which can work inside office 365 (sharepoint online), mainly i need to transfer files from a user's onedrive personal site to sharepoint online document library, where i need to preserve the files/folders permissions. i tired using the "Copy to " option but seems it will not preserve the permissions.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.