OneDrive File Issues

Fix Intune SharePoint Library Automatic Sync Not Working in OneDrive

Ayan MasoodAyan Masood Oct 12, 2026 868 views

Question details

The user needs to resolve an issue where an Intune policy fails to automatically synchronize a SharePoint library to OneDrive across multiple devices.

How to Fix Intune SharePoint Library Automatic Sync Not Working
Product
Microsoft Intune and OneDrive
Device & OS
not provided
Scenario
Deploying automatic SharePoint library synchronization to approximately 30 organizational devices via Microsoft Intune.
Observed behavior
The automatic synchronization fails with an error stating the folder cannot be added, even though manual synchronization works perfectly.
Before you start

Ensure you have Intune Administrator or Global Administrator privileges in the Microsoft 365 admin center to review configuration profiles and device deployment logs.

Solution 1Recommended

Verify Intune Configuration and SharePoint Library Limits

Check if the target SharePoint library exceeds Microsoft's recommended limits for automatic synchronization, which often causes the policy to fail.

Microsoft imposes specific limits on automatic synchronization deployed via Intune. If a library contains too many files, the Intune policy will fail to mount the folder automatically, even if a user can successfully trigger a manual sync.

1
Check library file counts

Navigate to your SharePoint site and check the total number of files and folders in the target library. Microsoft recommends against auto-syncing libraries with more than 5,000 files or folders.

2
Review device targeting limits

Ensure that the auto-sync policy for this specific library is not being deployed to more than 1,000 devices simultaneously.

3
Validate Tenant and Library IDs

Open the Microsoft Intune Admin Center, navigate to the Configuration Profiles, and verify that the copied Library ID and Tenant ID exactly match the target SharePoint library.

Verify Intune Configuration and SharePoint Library Limits
Auto-sync limitations: The 5,000 file/folder limit is specific to Intune automatic synchronization policies to prevent excessive network and client load. It does not prevent manual synchronization of larger libraries.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

While troubleshooting complex Intune and SharePoint sync policies, consider WPS Office as a lightweight, reliable alternative for your organization's document needs. It offers excellent compatibility with Microsoft Office formats and features built-in cloud support for smooth collaboration.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install the software: Run the downloaded installer and follow the on-screen instructions to set up WPS Office on your device.
  3. 3. Sign in and collaborate: Create or sign in to your WPS account to access cloud storage and seamlessly open your existing Microsoft Office files.
Free, lightweight, and easy to deploy across multiple devicesFully compatible with Microsoft Word, Excel, and PowerPoint formatsBuilt-in WPS Cloud for reliable and effortless file synchronizationFamiliar user interface ensuring a seamless transition for your team
microsoft office alternative - wps office

Frequently Asked Questions

What are the file limits for automatically syncing SharePoint libraries via Intune?

Microsoft strongly recommends not enabling automatic synchronization for libraries containing more than 5,000 files or folders, or deploying the same library auto-sync policy to more than 1,000 devices.

Why does manual synchronization work when Intune auto-sync fails?

Manual synchronization bypasses certain bulk-deployment safety thresholds. If a library is too large, the Intune policy may intentionally fail to apply to prevent overloading the device and network, whereas user-initiated manual sync processes the request directly.

How do I correctly obtain the SharePoint Library ID for my Intune policy?

You can generate the required Library ID by navigating to the SharePoint library in a web browser, clicking the 'Sync' button, and copying the library ID string from the prompt, or by using the 'Copy library ID' feature available in the OneDrive admin center.