Fix Intune SharePoint Library Automatic Sync Not Working in OneDrive
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.

- 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.
Ensure you have Intune Administrator or Global Administrator privileges in the Microsoft 365 admin center to review configuration profiles and device deployment logs.
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.
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.
Ensure that the auto-sync policy for this specific library is not being deployed to more than 1,000 devices simultaneously.
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.

Use Manual Synchronization as an Interim Workaround
If the library exceeds the automatic synchronization limits, instruct users to sync the library manually while you restructure the data.
Open a Support Request in the Microsoft 365 Admin Center
If the library is well under the 5,000-file limit and the policy is correctly configured, escalate the issue to Microsoft Support for backend log analysis.
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. Download the installer: Visit the official WPS Office website and click the free download button.
- 2. Install the software: Run the downloaded installer and follow the on-screen instructions to set up WPS Office on your device.
- 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.

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.




