Cyber Cloud Ops Logo
Microsoft Intune

How to Map SharePoint Document Libraries as Network Folders via Intune

By Admin User
July 1, 2025
8 min
How to Map SharePoint Document Libraries as Network Folders via Intune

🧭 Overview

Mapping a SharePoint Online document library as a network folder is a practical way to bridge modern cloud storage with familiar navigation experiences — especially for users who prefer working with File Explorer over the browser interface.

By making a SharePoint library appear as a network folder (drive mapping), you:

  • Provide a seamless, local-folder-like experience

  • Eliminate the need to manually access SharePoint via browser

  • Improve file discoverability, usability, and adoption of cloud storage

  • Enable drag-and-drop, right-click menus, and offline availability (if configured)

From an IT admin’s perspective, using Microsoft Intune to automate this process ensures centralized deployment, user consistency, and security control, all without requiring manual configuration on each machine.

In this article, I’ll walk you through how to deploy a SharePoint Library mapping via Microsoft Intune, in a secure and scalable way.

✅ Why this approach is secure and efficient

Unlike legacy mapped drives via GPO and VPN, this solution:

  • Leverages modern authentication via Azure AD and OneDrive

  • Requires no persistent credentials stored locally

  • Supports MFA (Multi-Factor Authentication) natively

  • Can be centrally managed and revoked via Intune and Entra ID

This provides a modern, cloud-native alternative to traditional on-prem file shares — improving both security and user satisfaction.

🔧 Step 1 – Prerequisites

Before deploying the policy, make sure the following conditions are met:

  • Devices are Azure AD Joined or Hybrid Azure AD Joined

  • Users already have access permissions to the target SharePoint document library

  • OneDrive is installed and configured on the device → OneDrive handles authentication and redirection in the background

🔧 2 – Configuration Steps

📁 Step 1: Retrieve SharePoint Library Details

To successfully map the SharePoint library as a network folder, you first need to collect specific details about the library’s path.

  1. Open the target SharePoint document library in your browser.

  2. Click on the gear icon (⚙️) in the top-right corner.

  3. Select “Library settings” or “More library settings” depending on your view.

  4. Copy the library URL — you’ll use it later when configuring the script.

💡 Tip: The path should look like this: https://yourtenant.sharepoint.com/sites/sitename/Shared Documents

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 01
Map SharePoint Document Libraries as Network Folders via Intune - Fig. 02

Copy the SharePoint library URL from the browser’s address bar for later use in the mapping script.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 03

🧪 Step 2: Convert the SharePoint Library ID to ASCII

At this stage, you’ve successfully copied the library ID — but here’s the catch: The ID includes special Unicode characters that can’t be used directly in Intune scripts.

To make it usable, you’ll need to convert it into a proper ASCII format. Fortunately, this process is quick and simple using PowerShell.

💻 Here’s how to do it:

  1. Open PowerShell on your device.

  2. Run the following command — just replace the placeholder text with your actual library ID:


Map SharePoint Document Libraries as Network Folders via Intune - Fig. 04

This will output a clean ASCII-formatted string that’s compatible with your Intune deployment script.

💡 Tip: Save this converted value — it will be used when mapping the network folder in the next steps.

As a result, you get a library ID in ASCII format that you can use directly in Microsoft Intune :

⚙️ Step 3: Create the Intune Configuration Profile

Now that you’ve prepared the necessary SharePoint library details, it’s time to create a configuration profile in Microsoft Intune. This profile will be used to deploy the drive mapping script to your target devices.

Follow the steps below:

  1. Go to the Microsoft Intune Admin Center

  2. In the left-hand menu, click on “Devices” to access device management

  3. Select "Configuration" under the "Manage devices" section

  4. Click on "+ Create" → then select "New Policy" This opens a new blade to create a configuration profile.

  5. For the platform, choose: Windows 10 and later and Settings catalog

  6. Click “Create” to begin configuring the deployment

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 05

🏷️ Step 4: Name and Describe Your Policy

In the Basics section of the profile creation wizard, provide a clear and descriptive name for your policy. This helps with long-term manageability and identification within Intune.

  • Name: Map SharePoint Document Library as Network Drive

  • Description: This policy enables users to access a SharePoint document library as a mapped network drive, providing seamless integration with File Explorer for easier file access and collaboration.

Once you’ve entered the name and description, click Next to proceed to the configuration settings.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 06

💡 Tip: Use consistent naming conventions across your policies to simplify policy tracking and maintenance.

🔄 Continuing from Profile Creation: Configure Library Sync Settings

After creating the configuration profile, follow these steps to enable automatic synchronization of a specific SharePoint library using OneDrive:

  1. Click “+ Add settings” – this will open the Settings picker panel on the right side.

  2. In the search bar, type "OneDrive".

  3. Press Enter to search.

  4. From the search results, expand the OneDrive category.

  5. Select the setting: "Configure team site libraries to sync automatically (User)" → This allows you to pre-configure specific SharePoint libraries to be automatically synced for users.

  6. Set the configuration to Enabled.

  7. Under Library Name, provide a descriptive name for the library (e.g., MS365 Education Documents).

  8. Under Value, paste the full SharePoint library URL: Example: https://yourdomain.sharepoint.com/sites/MS365 Documents/Shared Documents

  9. Click “Next” to continue through Scope tags, Assignments, and final Review + Create.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 07

💡 Note: Ensure users have access permissions to the specified library, or the sync will silently fail.

On the Scope tags page, you can leave the setting as Default if no custom tags are required. If your organization uses custom scope tags to segment administrative access, select the appropriate tags based on your policy requirements.

Click Next to proceed.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 08

👥 Assignments: Target the Right Users

In the Assignments tab, define who should receive this policy.

Select “All Users” or a specific Azure AD group based on your organization’s needs.

🔒 Note: Assigning to "All devices" is not supported for this policy — targeting must be done per user.

Once the assignment is configured, click “Next” to continue to the Review + Create step.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 09

✅ Review + Create: Finalize and Deploy the Policy

On the Review + Create page, carefully review all the configurations defined for the “Map SharePoint Document Library as Network Drive” policy.

Ensure that all settings — including the OneDrive sync configuration and user assignments — are accurate and aligned with your deployment goals.

If everything looks correct, click “Create” to deploy the policy to the assigned users.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 10

📦 Once deployed, users will automatically see the specified SharePoint document library mapped in File Explorer, improving accessibility and collaboration.

📊 Monitor the Deployment of the "Map SharePoint Document Library as Network Drive" Policy

After deploying the "Map SharePoint Document Library as Network Drive" policy to your target user group, it will be applied once the assigned users' devices successfully complete a sync with Microsoft Intune.

To monitor the deployment status, follow these steps:

  1. In the Microsoft Intune Admin Center, navigate to: Devices > Windows > Configuration profiles

  2. Use the search bar to locate the profile named: “Map SharePoint Document Library as Network Drive”

  3. Click on the profile to open it, then review the Device and user check-in status section. This section will display deployment progress, success/failure counts, and current compliance status across targeted users.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 11

🔄 Tip: If the policy hasn’t applied yet, you can trigger a manual sync from the user’s device via Settings > Accounts > Access work or school > Info > Sync.

🖥️ How to Verify the Mapped SharePoint Library on the User’s Device

After the policy has been successfully applied and the device has synced with Intune, users can easily verify if the SharePoint library was mapped correctly:

  1. Open File Explorer on the device.

  2. On the left-hand navigation pane, locate and click on OneDrive – [Your Organization Name].

  3. Inside the OneDrive folder, the shared document library will appear as a subfolder, using the name configured in the policy.

  4. The user will be able to access, open, edit, and save documents directly — just like working with a traditional network drive.

Map SharePoint Document Libraries as Network Folders via Intune - Fig. 12

💡 Tip: If the folder doesn’t appear immediately, the user can manually sync their device by going to: Settings > Accounts > Access work or school > Info > Sync

This integration provides a familiar experience for users who are used to working with mapped drives, while still leveraging the power and security of Microsoft 365 and SharePoint Online.

✅ Conclusion

Mapping a SharePoint Online document library as a network drive using Intune not only simplifies access to shared content, but also delivers a familiar experience for end users — all while maintaining the security and control of the Microsoft 365 ecosystem.

By automating this process, IT admins reduce manual configuration, ensure consistency across devices, and improve overall user productivity. This approach bridges the gap between modern cloud storage and traditional file management, making collaboration smoother and smarter.

Thank you!

🖥️ Ricardo Barbosa

📘 MCT Microsoft Certified Trainer | ☁️ Cloud Architect

🌐 Technology Director - https://altelix.com

Originally published on LinkedIn · July 1, 2025 · read the original article
Tags:
MicrosoftIntune
EndpointManagement
Windows11
DeviceManagement
ModernWorkplace
MEM
ITPro
ZeroTrust
MVPBuzz
Keep reading

The full Hardening Windows Endpoints series

One control at a time, with the exact policy paths, the detection and remediation scripts, and the reporting to prove it worked across the fleet.

Browse all articles
Need a hand

Rolling this out across a real fleet?

Reading the guide is the easy part. Designing it for thousands of devices, piloting it without breaking production and proving compliance afterwards is the hard part. That is what we do at ISolutions CloudX.

Talk to ISolutions CloudX

Written by Ricardo Barbosa, Microsoft MVP and MCT. New guide every Wednesday and Friday. Follow on LinkedIn to get the next one.

Posts Sugeridos

How to Map SharePoint Document Libraries as Network Folders via Intune | CyberCloudOps Blog