What SharePoint Libraries Can You Sync Through Microsoft Intune?
Microsoft Intune enables automatic synchronization of SharePoint document libraries to managed Windows devices, providing seamless offline access while maintaining enterprise security controls. This capability leverages the OneDrive sync engine to deploy designated SharePoint libraries without requiring manual user intervention.
The integration works with any SharePoint Online document library in your Microsoft 365 tenant, supporting Files-On-Demand functionality, differential sync for bandwidth efficiency, and automatic conflict resolution. Users get offline access to critical documents while IT maintains centralized control over which libraries sync to which devices.
What Are the Prerequisites for SharePoint Library Sync via Intune?
Before configuring automatic SharePoint library synchronization, ensure your environment meets these requirements:
Microsoft 365 Subscription Requirements: You need Microsoft 365 Business Basic, Business Standard, Business Premium, or Enterprise subscription with SharePoint Online enabled. The SharePoint document libraries must be created and populated with content that users need to access offline.
Administrative Access: Your account requires Intune Administrator privileges to access the Microsoft Endpoint Manager admin center at https://endpoint.microsoft.com. You also need appropriate permissions to access the SharePoint admin center for library management.
Device Requirements: Target devices must run Windows 10 or later and be enrolled in Microsoft Intune. The OneDrive sync client (OneDrive.exe) must be available on managed devices, typically installed through Windows updates or Microsoft 365 deployment.
User Permissions: Users must have at least read access to the SharePoint libraries you plan to sync. Without proper SharePoint permissions, the sync process will fail even if the Intune policy deploys successfully.
How Do You Identify SharePoint Library IDs for Intune Configuration?
The first critical step involves collecting unique Library IDs for each SharePoint document library you want to sync automatically. These IDs are essential for Intune policy configuration and must be exact.
Navigate to your SharePoint site and open the document library you want to sync. Click the Sync button in the toolbar - this is the same button users would click for manual synchronization. When the "We're syncing your files" dialog appears, select Copy library ID. This method provides the correctly formatted Library ID that Intune requires.
# Alternative PowerShell method to retrieve library information
Install-Module -Name PnP.PowerShell -Force
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/YourSiteName" -Interactive
Get-PnPList | Where-Object {$_.BaseTemplate -eq 101} | Select-Object Title, IdDocument each Library ID along with its corresponding site URL and library name. Create a spreadsheet tracking Library IDs, site URLs, and target user groups for each library you plan to sync. This organization makes policy management significantly easier as your deployment grows.
How Do You Create SharePoint Sync Policies in Microsoft Intune?
Access the Microsoft Endpoint Manager admin center at https://endpoint.microsoft.com using an account with Intune Administrator privileges. Navigate to Devices > Windows > Configuration profiles to begin creating your SharePoint sync policy.
Click Create > New Policy and select Platform: Windows 10 and later with Profile type: Settings Catalog. The Settings Catalog approach provides more granular control and better future compatibility compared to Administrative Templates.
On the Basics tab, provide clear identification for your policy. Use descriptive names like "Auto-Sync SharePoint Libraries - Finance Team" and include detailed descriptions that specify which libraries will sync and to which user groups. Include the creation date and target audience in your policy description for better management.
In the Settings Picker, search for "Configure team site libraries to sync automatically". From the OneDrive settings category, select Configure team site libraries to sync automatically (User). Enable this setting and configure each SharePoint library under Libraries (User):
Library Name: Finance Documents
Library ID: b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpdUse the + Add button to configure multiple libraries. Each library requires its unique Library ID that you collected earlier. Ensure the Library ID format matches exactly what you copied from SharePoint - these IDs are case-sensitive and must be precise.
What Assignment Strategies Work Best for SharePoint Sync Policies?
On the Assignments tab, specify which users or devices will receive the SharePoint sync policy. Proper assignment strategy is crucial for successful deployment and avoiding sync conflicts.
Common effective assignment approaches include:
- Department-based groups: Assign to Azure AD security groups organized by department (Finance, HR, Marketing)
- Project-based groups: Create groups for specific projects that need shared document access
- Device groups: Assign to device groups for specific hardware types or locations
- Dynamic groups: Use Azure AD dynamic groups based on user attributes like department or job title
Configure both Include and Exclude assignments as needed. For example, include the "Finance Team" group but exclude "Finance Contractors" if contractors shouldn't have offline access to sensitive documents.
Review all policy settings on the Review + Create tab before deployment. Verify that profile names are clear, all SharePoint Library IDs are correctly formatted, user/device assignments target the right groups, and the OneDrive sync setting is enabled.
How Long Does SharePoint Library Sync Take After Policy Deployment?
After creating and deploying your SharePoint sync policy, understanding the timeline helps set proper expectations with users and troubleshoot potential issues.
Policy Application Timeline: Intune policies typically apply to devices within 8 hours of deployment, though most devices receive policies within 1-2 hours during normal business hours. Devices must check in with Intune to receive new policies, which happens automatically but can be forced through the Company Portal app.
Library Sync Initiation: Once the policy applies to a device, SharePoint libraries may take up to 8 hours after user sign-in to begin syncing. This delay is normal and accounts for OneDrive sync client processing and initial file enumeration.
Monitor policy deployment through the Intune admin center. Click on your policy to access its overview page, where you can track assignment status, device status, and user status. Look for devices showing "Error" status and investigate specific error messages.
Key deployment metrics to monitor:
- Assignment status: Shows how many devices have received the policy
- Device status: Indicates successful application versus errors
- User status: Shows per-user deployment results
Common deployment issues include devices not checking in with Intune recently, users lacking permissions to SharePoint libraries, and OneDrive sync client not being installed or being outdated.
How Do You Verify SharePoint Library Synchronization on Managed Devices?
On a managed device where the policy has been applied, verification involves checking multiple indicators to confirm successful SharePoint library synchronization.
Check the OneDrive system tray icon first - it should show sync activity for the configured SharePoint libraries. The icon may display a sync progress indicator or show "Up to date" once initial synchronization completes.
Open File Explorer and navigate to the OneDrive folder, typically located at %USERPROFILE%\OneDrive - YourCompany. You should see folders for each configured SharePoint library alongside the user's personal OneDrive files.
# PowerShell verification commands for managed devices
Get-ItemProperty -Path "HKCU:\Software\Microsoft\OneDrive\Accounts\Business1" -Name "Tenants"
Get-ChildItem "$env:USERPROFILE\OneDrive - YourCompany" | Where-Object {$_.PSIsContainer}SharePoint libraries appear as folders with cloud icons, indicating Files-On-Demand is active. This means files are available but not consuming local disk space until accessed. Users can make specific files or folders available offline by right-clicking and selecting "Always keep on this device".
Open the OneDrive settings by right-clicking the system tray icon and selecting "Settings". On the "Account" tab, you should see both the user's personal OneDrive and any synced SharePoint libraries listed with their sync status.
What Troubleshooting Steps Resolve Common SharePoint Sync Issues?
When SharePoint libraries don't sync as expected, follow this systematic troubleshooting approach to identify and resolve issues quickly.
Check OneDrive Sync Client Status: Start by verifying the OneDrive sync client is running and healthy. Open Command Prompt and run:
%localappdata%\Microsoft\OneDrive\onedrive.exe /statusThis command shows the current sync status and any error conditions. Look for messages about authentication issues, storage problems, or sync conflicts.
Verify Registry Entries: Intune writes specific registry values to enable automatic sync. Check that these values exist and are correct:
Get-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\OneDrive" -Name "AutoMountTeamSites" -ErrorAction SilentlyContinue
Get-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\OneDrive" -Name "TeamSitesToSync" -ErrorAction SilentlyContinueIf these registry entries are missing, the Intune policy hasn't applied correctly to the device. Force a policy refresh through the Company Portal app or wait for the next automatic check-in.
Reset OneDrive Sync Client: If sync appears stuck or corrupted, reset the OneDrive sync client:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
%localappdata%\Microsoft\OneDrive\onedrive.exeThis stops all sync activity, clears the sync database, and restarts OneDrive. Users will need to sign in again, but configured SharePoint libraries should automatically begin syncing.
Common Resolution Steps:
- Restart the OneDrive sync client through Task Manager
- Sign out and back into OneDrive to refresh authentication
- Verify user permissions in SharePoint - users need at least read access
- Check device compliance status in Intune admin center
- Force policy sync from Company Portal app
- Clear OneDrive cache and restart sync
If issues persist after these steps, collect OneDrive sync logs from %localappdata%\Microsoft\OneDrive\logs. These detailed logs help Microsoft support analyze complex sync problems and provide specific resolution guidance.
For persistent issues affecting multiple users, review the Intune policy configuration for errors in Library IDs, assignment groups, or conflicting policies that might interfere with SharePoint sync functionality.



