Simply, I would like to know if we can restrict a user from copying files/documents while allowing them to move them around.

enter image description here

As I understand, we can display/hide buttons using JSON formatting, but imagine I have to do them one-by-one for dozens of Doc libraries.


Another limitation is that, the user can go to OneDrive and use the copy functionality as below:

enter image description here

Will it be possible to control it through permission or there is a limitation in this functionality?

Any help is greatly appreciated.

Thank you!

1 Answer 1


I think this is not possible using SharePoint permissions as you want to allow users to move files but not copying the files.

For moving files from document library, you need Contribute or higher permissions (with delete permissions) on document library.

And when you grant contribute or higher permissions on document library, user will automatically have permissions to copy files as well.

As you already know, you have to do it using JSON view formatting like:

  "commandBarProps": {
    "commands": [
        "key": "copyTo",
        "hide": true

If you don't want to do it manually, you can use PowerShell to apply this JSON formatting to multiple document libraries.

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.