The fastest way to add SharePoint to File Explorer is to open the document library in your browser and select "Add shortcut to OneDrive" or "Sync". The library then appears in File Explorer under your organization's OneDrive or company name. Mapping SharePoint as a network drive with a drive letter still works in some setups, but Microsoft calls it slower and less reliable than syncing.
This guide walks through all three methods, explains which one to choose, and covers the most common problems, including the missing "View in File Explorer" button and mapped drives that keep disconnecting.
Which Method Should You Use?
|
Method |
How it shows in File Explorer |
Works offline |
Microsoft's position |
Best for |
|---|---|---|---|---|
|
1. Add shortcut to OneDrive |
Folder inside your OneDrive |
Yes, for files you keep on the device |
Recommended |
Most users, especially when the library is used across several devices |
|
2. Sync |
Separate folder under your organization name |
Yes, for files you keep on the device |
Recommended |
Users who want a library as its own folder in File Explorer |
|
3. Map a network drive (WebDAV) |
Drive letter under This PC |
No |
Not recommended; older technology |
Legacy apps or scripts that require a drive letter |
Microsoft's support article on viewing SharePoint files in File Explorer recommends adding a shortcut to OneDrive first and states that it no longer recommends the "View in File Explorer" command.
Before You Start
![]()
-
A Microsoft 365 work or school account with access to the SharePoint site
-
Windows 10 or Windows 11 (Method 1 and 2 also work on macOS through the OneDrive app)
-
The OneDrive app installed and signed in with your work account. It comes with Windows 10 and 11.
-
Edit or read permission on the document library you want to add
Method 1: Add a Shortcut to OneDrive (Recommended)
-
Open the SharePoint site in your browser and go to the document library, for example Documents.
-
Select Add shortcut to OneDrive on the command bar. To add a single folder instead, select the folder first and then choose the same option.
-
Open File Explorer. In the left pane, open your OneDrive folder for your organization (it usually shows as "OneDrive - Company Name").
-
The shortcut appears as a folder with a link icon. Open it to work with the files like any local folder.
Because the shortcut lives inside OneDrive, it follows you to every device where you sign in to OneDrive. Files download on demand, so they do not fill your disk until you open them.
Method 2: Sync the SharePoint Library
-
Open the document library in your browser.
-
Select Sync on the command bar. If your browser asks to open Microsoft OneDrive, allow it.
-
Sign in to OneDrive with your work account if prompted.
-
Open File Explorer. The library appears under a folder with your organization's name, for example "Company Name", with a subfolder named after the site and library.
Synced libraries use Files On-Demand, so you see every file and folder but only download what you open. To keep a folder available offline, right-click it in File Explorer and select Always keep on this device.
Pick one method per library to avoid duplicate folders. For sync-specific settings and troubleshooting, see our full guide on how to sync SharePoint to File Explorer.
Method 3: Map SharePoint as a Network Drive
Some older applications and scripts need a drive letter. In that case you can map a SharePoint library as a network drive, which uses the WebDAV protocol. Microsoft notes that this is an older technology which is slower and less reliable than syncing, so use it only when you need a drive letter.
Step 1: Get the library path
Open the library in your browser and copy the address. Remove everything after the library name. For example:
-
Browser address: https://contoso.sharepoint.com/sites/Finance/Shared%20Documents/Forms/AllItems.aspx
-
Path to use: https://contoso.sharepoint.com/sites/Finance/Shared Documents
-
WebDAV form: if the first one fails\\contoso.sharepoint.com@SSL\DavWWWRoot\sites\Finance\Shared Documents
Step 2: Sign in and stay signed in
Mapped drives rely on your browser sign-in. Sign in to the SharePoint site and select Yes at the "Stay signed in?" prompt. Without a persistent sign-in, the drive will fail to connect or will drop later.
Step 3: Map the drive
-
Open File Explorer and select This PC.
-
In Windows 11, select the See more (...) menu and choose Map network drive. In Windows 10, select the Computer tab and then Map network drive.
-
Choose a drive letter and paste the library path into Folder.
-
Check Reconnect at sign-in and select Finish.
Step 4: Keep the WebClient service running
The WebClient service must be running for the mapped drive to work. Microsoft's guidance is to set its Startup type to Automatic for persistent mappings. Your IT team may need to change this through Group Policy.
Limits to know: mapped drives do not work offline, do not support Files On-Demand, and can disconnect when the sign-in session expires. For daily work, Method 1 or 2 is more reliable.
What About "View in File Explorer"?
"View in File Explorer" opens a library in a temporary File Explorer window. It is hidden by default in modern SharePoint libraries. To use it in Microsoft Edge, Microsoft lists these requirements in View SharePoint files with File Explorer in Microsoft Edge:
-
Microsoft Edge version 93 or later
-
A domain-joined device, or Windows 10 Pro or Enterprise enrolled in device management
-
The Edge policy ConfigureViewInFileExplorer deployed by IT
-
The tenant setting enabled by a SharePoint admin, and "Stay signed in" selected at sign-in
Microsoft no longer recommends this command and points users to the OneDrive sync app instead. Version history is also not copied when you move files this way.
Common Problems and Fixes
The Sync or "Add shortcut to OneDrive" button is missing
Your admin may have hidden the Sync button, or you may not have permission on the library. Check with IT, and confirm you are signed in with your work account, not a personal Microsoft account.
The library does not appear in File Explorer
Confirm that the OneDrive app is running (cloud icon in the taskbar) and signed in to your work account. For shortcuts, look inside the OneDrive folder for your organization, not under "This PC".
Mapped drive asks for a password or will not reconnect
Sign in to SharePoint in your browser again and choose "Stay signed in". Make sure the WebClient service is running. Clear old SharePoint entries in Windows Credential Manager and map the drive again.
The folder you entered does not appear to be valid
The path is usually wrong. Remove /Forms/AllItems.aspx and any view parameters from the address, or try the \\tenant.sharepoint.com@SSL\DavWWWRoot\ form.
Files show a red X or sync error
Open the OneDrive app to see the error. Common causes are file names with unsupported characters, very long paths, or files open in another app.
Best Practices for Teams
-
Standardize on one method, usually Add shortcut to OneDrive, so support is simpler.
-
Keep library structures shallow to avoid long path errors. Our guide to SharePoint document libraries covers structure and metadata.
-
Avoid syncing very large libraries to every laptop; share the specific folders people need.
-
Use Teams and SharePoint together for collaboration, since Teams files are stored in SharePoint libraries. See Teams and SharePoint integration.
Frequently Asked Questions
How do I add SharePoint to File Explorer in Windows 11?
Open the SharePoint document library in your browser and select "Add shortcut to OneDrive" or "Sync". The files then appear in File Explorer through the OneDrive app.
Can I map SharePoint as a network drive with a drive letter?
Yes. Use Map network drive in File Explorer with the library path, keep your browser sign-in active with "Stay signed in", and make sure the WebClient service is running. Microsoft considers this slower and less reliable than syncing.
What is the difference between mapping and syncing SharePoint?
Mapping connects to SharePoint over WebDAV with a drive letter and needs a live connection. Syncing uses the OneDrive app, supports Files On-Demand and works offline for files kept on the device.
Why is "View in File Explorer" not showing in SharePoint?
It is hidden by default and needs Edge policy and tenant settings enabled by IT. Microsoft recommends using Sync or Add shortcut to OneDrive instead.
Can I pin a SharePoint folder to Quick Access?
Yes. After you add a shortcut or sync the library, right-click the folder in File Explorer and select Pin to Quick access.
Get SharePoint Working the Way Your Team Works
For most people, adding a shortcut to OneDrive or syncing the library is the quickest, most reliable way to work with SharePoint files in File Explorer. Keep mapped network drives for legacy cases that need a drive letter.
