Explore practical guides and tools for Microsoft 365, Azure, and PowerShell. Enhance your cloud security and admin skills with expert insights and automation tips.
Explore practical guides and tools for Microsoft 365, Azure, and PowerShell. Enhance your cloud security and admin skills with expert insights and automation tips.
Mapping SharePoint Library as Network folder using Intune
Mapping a SharePoint Online document library as a network folder can significantly improve user experience, especially for those who prefer traditional file explorer navigation. In this article, I’ll walk you through how to automate this process using Microsoft Intune.
1 – Prerequisites :
Before proceeding, ensure the following :
Devices are Azure AD Joined or Hybrid Azure AD Joined.
Users already have access to the target SharePoint site/Library.
OneDrive is installed and configured (used in background for auth).
2 – Configuration steps :
Step 1 : Get SharePoint Library Details
Open the SharePoint library in a browser.
Click on “Engine logo ⚙️” then select “More library settings“
Copy library link from address bar :
At this point, you have copied the library ID. However, this ID cannot be used directly in Microsoft Intune because it contains special Unicode characters. To use it, you need to convert the ID to ASCII first. The easiest way to do this is by using PowerShell, where you replace the “Link here” with the copied library ID.
Open PowerShell then execute this command :
[uri]::UnescapeDataString("Link here")
As a result, you get a library ID in ASCII format that you can use directly in Microsoft Intune :
Click on “Devices” This will take you to the devices management section.
Select “Configuration” under the “Manage devices” section
Click on “+ Create” → then select “New Policy” This opens a new blade to create a configuration profile.
Choose Profile Settings
Click the “Create” button
Give a Name to your policy
Clic Next
Continuing from Profile Creation:
Click “+ Add settings” This opens the Settings picker on the right side.
Search for “onedrive” In the search bar at the top.
Click “Search” to execute the search.
Click on the “OneDrive” category from the search results.
Select “Configure team site libraries to sync automatically (User)” This will enable automatic syncing of specific SharePoint libraries for users.
Enable the setting Toggle the setting to Enabled.
Add a library Name
Value : Enter the SharePoint library URL Example: https://yourdomain.sharepoint.com/sites/Finance/Shared Documents
Click “Next” to continue to Scope Tags, Assignments, and final creation.
Select group of users or “All users” as your company needs (All devices is not accepted at this level)
Click create
3 – Result :
Thanks
Aymen EL JAZIRI (Microsoft MVP)
Hi, I’m Aymen El Jaziri , a passionate System Administrator and Microsoft MVP, with years of hands-on experience in managing and securing modern IT infrastructures.
This blog is where I share technical guides, automation scripts, product reviews, and real-world solutions that help IT professionals simplify their day-to-day work and stay ahead in a fast-evolving cloud ecosystem.
Whether you’re here to troubleshoot an issue, improve your automation game, or learn new best practices , welcome in my blog !
Let’s build a stronger, smarter IT community together.
Feel free to connect with me on LinkedIn for more content, discussions, or collaboration opportunities.