How to Map SharePoint Online Libraries as Network Drives via Intune
Question details
The user needs to migrate files to SharePoint Online and deploy a solution via Microsoft Intune to map libraries to specific drive letters, maintaining compatibility with legacy databases.

- Product
- SharePoint Online and Microsoft Intune
- Device & OS
- Windows 10
- Scenario
- Migrating to SharePoint Online while ensuring a legacy database can still access files via strict mapped drive paths (e.g., X:\folder1).
- Observed behavior
- Mapping SharePoint libraries as legacy network drives interferes with modern co-authoring, while standard OneDrive synchronization creates local file paths instead of required drive letters.
Verify that your target Windows 10 devices are successfully enrolled in Microsoft Intune and have the latest version of the OneDrive sync client installed.
Deploy OneDrive Sync via Microsoft Intune
Since mapping network drives is unsupported for co-authoring, configuring OneDrive to automatically sync SharePoint libraries via Intune is the Microsoft-recommended approach.
Using OneDrive synchronization provides seamless offline access, improved performance, and full support for modern real-time co-authoring, avoiding the reliability issues of traditional WebDAV mapped drives.
Log in to the Microsoft Endpoint Manager admin center and navigate to Devices, then select Configuration profiles.
Click 'Create profile', select 'Windows 10 and later' as the platform, and choose 'Settings catalog' or 'Administrative Templates'.
Search for the policy named 'Configure team site libraries to sync automatically'. Enable the setting and enter your specific SharePoint library's unique ID.
Assign the configuration profile to the target user groups and save. Intune will automatically deploy the sync settings to the assigned Windows 10 devices.

Map a Drive Letter to the Synced Folder (Legacy Database Workaround)
If your legacy database strictly requires a mapped drive letter (such as X:\), you can map the local OneDrive synced folder to a virtual drive letter using native Windows commands.
Need a Seamless Office Suite for Synced SharePoint Files?
Mapping legacy network drives can cause frustrating compatibility issues with traditional Microsoft Office configurations. Instead, consider managing and editing your synced files with WPS Office. WPS Office is a free, lightweight suite that handles locally synced SharePoint documents flawlessly while offering comprehensive Microsoft Office format compatibility.
- 1. Visit WPS Official Site: Go to the official WPS Office website to access the secure download portal.
- 2. Download the Installer: Click the 'Free Download' button to get the lightweight installation file for Windows.
- 3. Install and Edit: Run the installer, follow the simple on-screen instructions, and immediately start opening files from your synced SharePoint folders.

Frequently Asked Questions
Why shouldn't I map a SharePoint library directly as a network drive?
Mapping directly as a network drive relies on outdated WebDAV technology. It is significantly slower, frequently drops connections, and breaks modern Office features like real-time co-authoring and auto-save. Microsoft strongly advises against using it for production environments.
Can Microsoft Intune map traditional network drives?
While Intune can execute PowerShell scripts to map standard on-premises network drives, Microsoft recommends using Intune's Administrative Templates to deploy OneDrive sync policies when dealing with SharePoint Online libraries.
Will the SUBST command workaround survive a Windows 10 reboot?
No, virtual drives created with the SUBST command are cleared when the computer restarts. To make the drive letter persistent, you must place a short batch script in the user's Windows Startup folder or configure a Task Scheduler event to recreate the mapping upon login.




