0

We have migrated all the selected file and folder from oneDrive by a internal tool, now, all the permission of selected files and folders, need to migrate to SharePoint Online by powershell script. Can it be possible?

1 Answer 1

0

Permission / Inheritance is not something we can migrate separated from objects.

In this scenario, you can only set permissions to the files and folders using PowerShell and the permission needs to be specify manually.

Here are some links with samples for your reference:

Use PowerShell to Set Permissions on All SharePoint Libraries, Folders and Files.

SharePoint Online: Set Folder Permissions using PowerShell.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.