How to map SharePoint Online as a network drive

SOLUTION GUIDE

To map SharePoint Online as a network drive in Windows, turn on the WebClient service, copy the document library's address from your browser and add it in File Explorer with Map network drive. That native WebDAV drive depends on a browser sign-in that expires, so for drives that stay connected, IT can deploy a drive-mapping tool such as Cloud Drive Mapper, which maps the right libraries for each user at every sign-in. The OneDrive sync client can also show SharePoint libraries in File Explorer, but as a synced folder, not a drive.

Why map SharePoint as a drive at all?

Because most desktop applications, and most people, work best with drive letters and consistent paths. Line-of-business apps, templates, macros and shortcuts often expect a path like S:\Finance\2026, and staff who have used network drives for years find the browser a slower way to work.

It also makes a file-server migration much easier. If the S: drive still exists after the move, nobody has to relearn where anything lives. Our guide to replacing your file server with SharePoint covers the wider migration.

How do you map SharePoint Online as a network drive in Windows?

Windows can do it natively with Map network drive, which connects to the library over WebDAV. On a Windows 11 PC:

  1. Make sure the WebClient service is running. Windows no longer starts it by default, so open services.msc, set WebClient's startup type to Automatic and start it.
  2. Add your tenant to the Trusted sites zone (Internet Options, then Security, then Trusted sites), for example https://contoso.sharepoint.com and https://*.microsoftonline.com.
  3. Sign in to SharePoint in your browser and choose Stay signed in. Open the document library and copy its address up to the library name, leaving off /Forms/AllItems.aspx, for example https://contoso.sharepoint.com/sites/Finance/Shared Documents.
  4. In File Explorer, select This PC, then Map network drive. In Windows 11 it's under the … menu.
  5. Choose a drive letter, paste the address, tick Reconnect at sign-in and select Finish. If Windows rejects the address, use the WebDAV form instead: \\contoso.sharepoint.com@SSL\DavWWWRoot\sites\Finance\Shared Documents.

It works, but it has three well-known problems:

  • The sign-in expires. The mapping relies on a browser authentication cookie. When the cookie expires, the drive stops working until the user signs in again. Microsoft's own guidance says the setup is only supported when the sign-in is done in Internet Explorer, which Microsoft retired in 2022.
  • It's fragile, and on its way out. WebDAV connections are unreliable through many corporate proxies and can drop silently. Microsoft deprecated the WebClient service in November 2023, so it's no longer being developed.
  • Each user sets it up. You can automate the mapping with a PowerShell or Group Policy script, but scripts can't fix the expiring sign-in, and asking users to re-run a script whenever their drive fails doesn't scale.

Native mapping is fine for an occasional, personal shortcut. It isn't something to run a whole organisation's file access on.

Why not sync SharePoint with the OneDrive sync client instead?

Because syncing copies shared data onto every device, and it slows down as libraries grow. The OneDrive sync client keeps a local copy of every library a user syncs and reconciles it in the background. That brings delays before other people's changes appear and a practical ceiling of around 300,000 items per device.

Sync suits personal files on a single, well-provisioned laptop. For shared business data at scale, having sensitive libraries copied to hundreds or thousands of devices is hard to justify, and the result is still a folder, not a drive letter.

How do you map SharePoint drives with Cloud Drive Mapper?

You set the mappings up once in Iris, our admin portal, and Cloud Drive Mapper (CDM) applies them on every device:

  1. In Iris, choose the SharePoint sites and document libraries you want to map, and the drive letter for each.
  2. Assign each mapping to the users or groups who need it.
  3. Deploy the CDM client to your devices with Intune, SCCM, NinjaOne, PatchMyPC or a command-line install.
  4. At sign-in, CDM maps the right drives for each user. It handles re-authentication itself, so the drives stay connected across sessions.

There are no per-user steps and no scripts to maintain when Microsoft changes its sign-in flow.

What does Cloud Drive Mapper add over native mapping?

  • Stable, IT-managed drive mapping across the whole organisation.
  • Real drive letters and file paths that every desktop app can use.
  • Real-time access to SharePoint through the Microsoft Graph API, with no full local copy and no 300,000-item ceiling.
  • Support for Windows 11, Windows Server 2016 and later, Azure Virtual Desktop, Citrix, Omnissa Horizon and RDS.

Frequently asked questions

Can I map a SharePoint library to a drive letter without extra software?

Yes. Windows can map a SharePoint Online document library over WebDAV using Map network drive, once the WebClient service is running. The mapping depends on a browser sign-in cookie that expires, and Microsoft has deprecated the WebClient service, so it suits occasional personal use rather than an organisation's day-to-day file access.

Why does my mapped SharePoint drive keep disconnecting?

WebDAV mappings to SharePoint rely on a browser authentication cookie. When it expires, or a proxy interferes with the connection, the drive drops until the user signs in again. Re-mapping or running a script only fixes it until the next expiry. Cloud Drive Mapper handles re-authentication itself, so its drives stay connected.

Is a mapped SharePoint drive the same as syncing a library with OneDrive?

No. Syncing copies the library onto the device and keeps that copy up to date in the background. A mapped drive gives you a drive letter that reads SharePoint directly, so there's no full local copy to keep in step.

Does Cloud Drive Mapper copy SharePoint files onto the device?

No. CDM fetches files on demand through the Microsoft Graph API and keeps only a small, self-managing cache, so it suits low-spec devices, small SSDs and non-persistent VDI.

Who can use the mapped drives?

Users in your own Microsoft 365 tenant, within the SharePoint permissions they already have. CDM uses delegated permissions only, so nobody sees anything through a mapped drive that they couldn't already open in SharePoint.

Related solutions

← Back to all solutions

Get started with Cloud Drive Mapper

The fastest way to see if CDM fits your environment is to try it for 30 days, free.

Look after Microsoft 365 for your customers? See why MSPs and resellers sell Cloud Drive Mapper →