we have a modern communication site inside our sharepoint online. now on the document library i am enabling offline syncing:-

enter image description here

where currently all users who have access to the sites can sync the files and folders to their PCs (using OneDrive.exe or using OneDrive For Business). but can i restrict this?, and only allow certain user/s to be able to sync the document library files?

  • 2
    since they have permission to view on Document Library and you enabled Offline Client Availability, every user who has permission should be able to sync it. only thing you can customize and hide the Sync button using JS and css from document Library based on certain SP groups but its not good practice to do. – vinit kumar Dec 12 '18 at 12:30
  • @vinitkumar so restricting syncing to specific users is not a supported operation?? – John John Dec 12 '18 at 12:36
  • 2
    No,it's not a supported operation as per i know. may be some MVP will have other thought. – vinit kumar Dec 12 '18 at 12:39
  • @vinitkumar i also did not find any documentation mentioning this – John John Dec 12 '18 at 13:14
  • 1
    @SharePoint TestDev : there is no such functionality available in sharepoint, whatever changes you are doing, its applicable for all users. – THIVAGAR SEGAR Dec 12 '18 at 13:27

Unfortunately, such option does not exist yet. The only option available is to prevent the role library to be synced which would affect all users who have access to it.


The easy solution will be to stop inheriting permission for that library and give contribute permission to users who should be able to sync the document libraries.

To stop inherit permission follow this link

  • but i want all users to be able to access the document library ,, but only specifc user/s to be able to sync.. now if i follow ur appraoch then users wil not be able to access the SP library at all...is this correct? – John John Dec 12 '18 at 12:37
  • If you give other users View or Read permission only, they will be able to access the library but they will not be able to add New Item – Amit Kotha Dec 12 '18 at 12:45
  • ok thanks for the info .. but this is not related to my question.. – John John Dec 12 '18 at 15:21

Your Answer

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

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