Quick answer

Intune has no built-in “map a SharePoint drive” setting. There are three working approaches:

  1. OneDrive auto-sync policy — a synced folder, not a drive letter; takes up to 8 hours.
  2. WebDAV logon script (net use) — a real letter, but it depends on browser cookies and breaks.
  3. 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:

ApproachWhat users seeCatch
OneDrive policy “Configure team site libraries to sync automatically”A folder under the company name, not a letterUp to 8 hours to appear; local copies, sync conflicts, slow on large libraries
PowerShell / logon script with net use over WebDAVA drive letterRelies on browser sign-in cookies; drives go offline, 50 MB file limit by default
OneMount + imported ADMX policyA drive letter in This PCNothing 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.
Windows version. The default “Network drive” mode needs Windows 11 24H2 or newer. On older Windows OneMount switches to a compatible mode automatically — the policy stays the same.

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

Step 1 · template

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.

Intune Import ADMX tab with OneMount.admx in Available status
Import ADMX: the Intune edition of the template, status Available.Click to enlarge
Why a separate Intune edition? Intune rejects templates that reference 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.
Step 2 · profile

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”.

Intune Create a profile pane with Imported Administrative templates selected
Profile type Templates → Imported Administrative templates.Click to enlarge
Step 3 · drives

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.

NameValue
Shttps://contoso.sharepoint.com/sites/Finance/Shared Documents|Finance
Phttps://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.

Intune profile setting Configure drives to mount with drive letter and SharePoint library address
Configure drives to mount: letter on the left, library address on the right. Address blurred.Click to enlarge

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.

Step 4 · license

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.

OneMount customer portal Organization page with the organization ID and members
Customer portal → Organization: the key and the members. Names and the key are blurred.Click to enlarge

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.

Intune profile setting Organization enrollment key for OneMount
Organization enrollment key → Enabled → paste the key.Click to enlarge
Treat the key like a password. Anyone who has it can join users to your organization. If it leaks, regenerate it in the portal and update the policy.
Step 5 · assign

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.

Step 6 · app

Deploy OneMount from the Microsoft Store

Apps → Windows → Create → Microsoft Store app (new) → Search the Microsoft Store app (new) → “OneMount” by SkylFlow.

Intune Microsoft Store app (new) search showing OneMount by SkylFlow
Microsoft Store app (new): OneMount by SkylFlow, type UWP.Click to enlarge

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.

Intune app summary with Install behavior set to System
Summary before Create: Install behavior System.Click to enlarge

Under Required add the same device group. Store apps then update themselves, no packaging needed.

Intune app assignment Required to a device group
Required → the same device group as the profile. Group name blurred.Click to enlarge

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.

SharePoint library mounted by OneMount as drive I: in This PC after the Intune policy applied
The result: OneMount shows the drive from the policy, and the library is drive I: in This PC.Click to enlarge

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'
Registry Editor showing HKLM SOFTWARE Policies OneMount Drives value written by Intune
What Intune wrote: HKLM\SOFTWARE\Policies\OneMount\Drives — letter I, address and drive name. Tenant blurred.Click to enlarge

In 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.

Intune app overview with OneMount installed on 1 device
Apps → OneMount: installed on the test device.Click to enlarge

One template, one profile, one app — and every new PC in the group gets the same drives without anyone touching it.

Troubleshooting

SymptomCause and fix
ADMX file referenced not found NamespaceMissing:Microsoft.Policies.WindowsThe Group Policy template was uploaded. Delete the failed upload and import the Intune edition.
“Command error, check your command query…” after uploading Windows.admxThe template writes outside allowed registry areas. Same fix: the Intune edition.
Profile created, nothing happens on PCsThe 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 arrivesThe PC is only Entra joined, not enrolled in Intune. In Entra ID → Devices the MDM column must say Microsoft Intune.
OneMount installed, but no drivesThe 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.

SharePoint as local driveIntunemap SharePoint drive letterADMX importImported Administrative templatesMicrosoft Store app (new)no OneDrive syncOneMount

Sources

Screenshots are from our own Intune tenant; account names, addresses and keys are blurred.