Limit Sync to One Department Library: Practical Checklist for SharePoint Owners
🔍 WiseChecker

Limit Sync to One Department Library: Practical Checklist for SharePoint Owners

Many SharePoint site owners want to restrict file sync to a single department library instead of the entire document library. When users sync the default Documents library, they often download thousands of files they do not need. This slows down OneDrive sync and consumes local disk space unnecessarily. The root cause is that SharePoint sync permissions apply at the library level by default, and there is no built-in toggle to limit sync to a subfolder or a specific view. This article explains how to configure SharePoint and OneDrive settings so users can sync only one department library while blocking sync for the rest of the site.

Key Takeaways: Limit Sync to One Department Library

  • SharePoint admin center > Sync settings: Disable sync for the default Documents library to force users to sync only the department library you create.
  • Library permissions > Break role inheritance: Remove sync access from the default library while granting it to the department library.
  • OneDrive admin center > Sync restrictions: Apply a policy that blocks sync for all libraries except the approved department library.

ADVERTISEMENT

Why SharePoint Sync Applies to the Entire Library

SharePoint sync works at the library level. When a user clicks the Sync button on a library, OneDrive for Work or School creates a sync relationship with that entire library. There is no native option to sync only a folder or a filtered view from the user interface. The OneDrive sync client downloads all files and folders that the user has permissions to see in that library. If the library contains multiple department folders, every user who syncs the library downloads everything they can access.

The Microsoft 365 admin center and SharePoint admin center provide controls to manage sync behavior. These controls include disabling sync for a library, blocking sync on specific devices, and using conditional access policies. However, none of these settings allow a site owner to say “sync only the Finance folder.” The workaround is to create a dedicated document library for the department and restrict sync on the main library.

Prerequisites for Limiting Sync

Before you begin, verify that you have the following permissions and access:

  • SharePoint site owner or site collection administrator role.
  • Global admin or SharePoint admin role in the Microsoft 365 admin center to change sync settings at the tenant level.
  • OneDrive sync client version 22.022 or later installed on users' devices.
  • Users must sign in to OneDrive with their work or school account.

Steps to Create a Dedicated Department Library and Block Sync on the Default Library

The goal is to create a new document library named after the department, then disable sync on the existing Documents library so users can only sync the new one.

  1. Create the department library
    Go to your SharePoint site. Click Settings (gear icon) and select Add an app. Choose Document Library. Name the library exactly as the department name, for example “Finance Library.” Click Create.
  2. Set library permissions to break inheritance
    Open the new library. Click the gear icon and choose Library settings. Under Permissions and Management, click Permissions for this document library. Click Stop Inheriting Permissions. Confirm the action. Now you can grant unique permissions to this library.
  3. Grant sync access to the department library
    In the Permissions page of the department library, click Grant Permissions. Add the users or Microsoft 365 group that should sync this library. Assign at least Edit or Contribute permissions. Users need Read permission to sync files.
  4. Remove sync permissions from the default library
    Go to the default Documents library. Click Library settings > Permissions for this document library. Click Stop Inheriting Permissions. Remove all users who should not have access to the main library. Keep only site collection admins or a small set of owners. Users without permissions cannot sync the default library.
  5. Disable the Sync button on the default library
    In SharePoint admin center, expand Policies and click Sharing. Under File and folder links, select Specific people (only the people the user specifies). This change does not disable sync directly. To remove the Sync button, use PowerShell or the SharePoint Online Management Shell. Run the command Set-SPOSite -Identity https://yourtenant.sharepoint.com/sites/yoursite -DisableSync $true. This blocks sync for the entire site. To allow sync only on the department library, you must use the next method instead.
  6. Use a OneDrive sync policy to whitelist the department library
    In the Microsoft 365 admin center, go to Health > Sync (Preview). Under Policies, select Block sync on specific libraries. Add the default library's URL to the blocked list. Add the department library's URL to the allowed list. Users will see the Sync button only on the allowed library.

ADVERTISEMENT

If Users Still See the Sync Button on the Wrong Library

Sync button appears on both libraries

If the Sync button is still visible on the default library after applying the policy, the policy may not have propagated. Wait up to 24 hours for changes to take effect. Alternatively, clear the browser cache and sign out of Office 365, then sign back in. If the issue persists, run the PowerShell command Set-SPOSite -Identity -DisableSync $true to disable sync site-wide, then enable sync only on the department library by granting unique permissions and using the OneDrive sync policy whitelist.

OneDrive sync client shows an error for the blocked library

Users who previously synced the default library will see a sync error or a red circle icon. This is expected. Instruct users to stop syncing the default library by right-clicking the OneDrive icon in the system tray, selecting Settings, clicking Account, and choosing Stop sync next to the site. Then they can sync the department library by clicking Sync on that library.

Users cannot find the department library in OneDrive

If the department library does not appear in the OneDrive web view or the sync client, verify that the user has at least Read permissions on that library. Also check that the library is not hidden. Go to Library settings > Advanced settings. Under Browser-enabled documents, ensure that the library is not set to hidden.

Default Library vs Department Library: Sync Behavior Comparison

Item Default Documents Library Department Library
Sync button visibility Visible by default to all site members Visible only if permissions allow and policy whitelists it
Files synced All files user has permission to see Only files in the department library
Permission inheritance Inherits site permissions Unique permissions, broken from parent
Sync policy control Blocked via SharePoint admin or PowerShell Allowed via OneDrive sync policy whitelist
User experience May sync hundreds of unrelated files Syncs only relevant department files

This checklist gives site owners a practical method to limit sync to one department library. First, create a dedicated library and break permission inheritance. Then block sync on the default library using a OneDrive sync policy. Finally, guide users to stop the old sync and start syncing the new library. For advanced scenarios, consider using Microsoft 365 group-connected sites where you can manage permissions at the group level instead of the library level. This reduces administrative overhead while keeping sync restricted to the correct content.

ADVERTISEMENT