Quick answer
Intune has no built-in “map a SharePoint drive” setting. There are three working approaches:
- OneDrive auto-sync policy — a synced folder, not a drive letter; takes up to 8 hours.
- WebDAV logon script (
net use) — a real letter, but it depends on browser cookies and breaks. - OneMount + ADMX policy — a real drive letter with nothing synced, set once in Intune.
This guide covers the third: import the template → create one profile → deploy the app from the Store.
Three ways to get SharePoint as a drive on managed PCs
Moving file shares to SharePoint usually ends with the same request: “give us back our drive letters”. Accounting
macros point to S:\Finance, scanners save to P:, and people simply know where things
are. Here is what Intune admins actually use:
| Approach | What users see | Catch |
|---|---|---|
| OneDrive policy “Configure team site libraries to sync automatically” | A folder under the company name, not a letter | Up to 8 hours to appear; local copies, sync conflicts, slow on large libraries |
PowerShell / logon script with net use over WebDAV | A drive letter | Relies on browser sign-in cookies; drives go offline, 50 MB file limit by default |
| OneMount + imported ADMX policy | A drive letter in This PC | Nothing synced; one profile in Intune; users can’t break it |
The first two are covered elsewhere — see how to map SharePoint as a network drive and why OneDrive sync slows down on large libraries. This guide is about the third.
What “local drive” means here
People search for “SharePoint as a local drive” because they want it to behave like one: a letter in This PC, folders in Explorer, files opening from any program. That is what users get. Under the hood it is not a copy on disk: OneMount serves the library through a small file server on the PC itself, and files are fetched from SharePoint when someone opens them.
- No sync. No OneDrive client involved, nothing downloaded in advance, no “processing changes”.
- No load on the PC. A 200 GB library takes no disk space until files are opened.
- Office co-authoring works. Word, Excel and PowerPoint open files from the cloud.
- Managed centrally. Drives, the license and behavior come from Intune; details can also be set in the OneMount customer portal.
What you need
- Windows PCs enrolled in Intune (Entra joined or hybrid joined).
- A device group with your test PCs in it — check that it actually has members.
- The Intune edition of the template: OneMount-ADMX-Intune.zip.
- A OneMount organization: sign in at the customer portal with your work account — the trial is free and needs no card.
Step by step in Intune
Import the ADMX template
Devices → Configuration → Import ADMX → Import. ADMX file: OneMount.admx; ADML file:
en-US/OneMount.adml, language English. Next → Create, wait a few minutes, then
Refresh until the status is Available.
Microsoft.Policies.Windows without Windows.admx (“NamespaceMissing”) and anything that writes to
HKLM\SYSTEM. The Intune edition has neither, so Windows.admx is not needed.
Create a profile from the imported template
Devices → Configuration → Policies → Create → New Policy. Platform Windows 10 and later, profile type Templates, then Imported Administrative templates. Give it a name, e.g. “OneMount”.
List the libraries and their drive letters
Computer Configuration → OneMount → Drives → Configure drives to mount → Enabled. One row per
drive: Name is the letter, Value is the library address, optionally followed
by | and the name users see in Explorer.
| Name | Value |
|---|---|
S | https://contoso.sharepoint.com/sites/Finance/Shared Documents|Finance |
P | https://contoso.sharepoint.com/sites/Projects|Projects |
Copy the address from the browser and cut it right after the library name — drop
/Forms/AllItems.aspx and everything after ?. A site address without a library mounts
the site’s default document library.
Optional, same folder: Prevent users from changing drives keeps the managed drives locked; Restrict which drive letters may be used keeps letters away from your legacy mappings.
Join everyone to your organization automatically
In the OneMount customer portal open Organization and copy the Organization ID. The same page shows members, their devices and seats — it is where you manage licenses later.
Back in the profile: OneMount → Licensing → Organization enrollment key → Enabled, paste the key. Anyone who signs in to OneMount on these PCs becomes a member — no more adding users by email.
Assign the profile to a device group
The settings live under Computer Configuration, so assign the profile to devices. Before you click Create, look at the member count: our first group showed “0 devices, 0 users”, and a policy assigned to an empty group silently does nothing.
Deploy OneMount from the Microsoft Store
Apps → Windows → Create → Microsoft Store app (new) → Search the Microsoft Store app (new) → “OneMount” by SkylFlow.
Set Install behavior: System. This does not run OneMount as SYSTEM — a Store app always runs in the user’s session. It only means the app is installed for everyone who signs in to the PC, which matches a device-targeted policy.
Under Required add the same device group. Store apps then update themselves, no packaging needed.
What users get
After the next Intune sync the PC installs OneMount and receives the policy. The user opens OneMount, it signs in silently with the Windows work account, joins your organization and mounts the drives. The drives are marked as set by the organization, so they can’t be removed by accident.
Our test PC — a freshly enrolled Windows 11 22H2 machine — showed the library as drive I: about half an hour after it joined the group. Nobody touched OneMount on it.
To check a PC without waiting for users:
# on a test PC after the Intune sync
Get-ItemProperty 'HKLM:\SOFTWARE\Policies\OneMount' | Format-List OrgKey
Get-ItemProperty 'HKLM:\SOFTWARE\Policies\OneMount\Drives'
HKLM\SOFTWARE\Policies\OneMount\Drives — letter I, address and drive name. Tenant blurred.Click to enlargeIn Intune: Apps → OneMount → Device install status should say Installed, and the profile’s Device status should say Succeeded. Intune checks in about every 8 hours; to speed it up use Settings → Accounts → Access work or school → Info → Sync on the PC. The overview charts lag behind by a few hours — Device install status shows the real state per device.
One template, one profile, one app — and every new PC in the group gets the same drives without anyone touching it.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
ADMX file referenced not found NamespaceMissing:Microsoft.Policies.Windows | The Group Policy template was uploaded. Delete the failed upload and import the Intune edition. |
| “Command error, check your command query…” after uploading Windows.admx | The template writes outside allowed registry areas. Same fix: the Intune edition. |
| Profile created, nothing happens on PCs | The group has no devices, or the profile targets users while settings are under Computer Configuration. |
| Device is in the group, but neither the app nor the policy arrives | The PC is only Entra joined, not enrolled in Intune. In Entra ID → Devices the MDM column must say Microsoft Intune. |
| OneMount installed, but no drives | The group was added to the app only. Add it to the profile’s assignments as well. |
No Intune? The same template works with Active Directory Group Policy — see all OneMount policies and how to deploy Store apps with GPO.
FAQ
Can Intune map a SharePoint library as a drive letter by itself?
No. Intune can sync libraries through the OneDrive client or run a mapping script, but it has no setting that mounts a SharePoint library as a drive letter. OneMount adds that through an imported ADMX template.
Is it a real local drive?
It looks and works like one: a drive letter in This PC that any program can open files from. Files stay in SharePoint and are fetched when opened, so nothing is synced or stored in advance.
Do I need the OneDrive sync client?
No. OneMount connects to SharePoint directly. OneDrive can stay installed for personal files or be turned off — they don’t interfere.
Why does Intune ask for Windows.admx?
Because the template references the Microsoft.Policies.Windows namespace. The Intune edition of the OneMount template doesn’t, so Windows.admx is not needed.
Should Install behavior be System or User?
System when you assign the app to a device group. It installs the app for everyone on the PC; the app itself still runs as the signed-in user.
How long until the drives appear?
As soon as the PC syncs with Intune and the user opens OneMount — usually within an hour, at most around 8 hours. A manual sync makes it immediate.
Can users add their own drives?
Yes, unless “Prevent users from changing drives” is enabled. Drives from the policy are always kept and marked as managed.
Sources
- Microsoft Learn — Import custom ADMX and ADML templates into Intune
- Microsoft Learn — Win32 app ADMX ingestion and blocked registry locations
- Microsoft Learn — OneDrive policy: Configure team site libraries to sync automatically
- Microsoft Learn — Add Microsoft Store apps to Intune
Screenshots are from our own Intune tenant; account names, addresses and keys are blurred.