Map a network drive to a SharePoint library

       Map a network drive to a SharePoint library

There is a simpler way to achieve your aim: SharePoint can put files in File Explorer without you having to map a drive, and the files don't take up storage space on your device.

We recommend using Sync   instead of mapping a network drive to SharePoint

When you're looking at a document library, Sync is available near the top of the page:

Modern experience:

Classic experience:

How to Sync SharePoint files and folders

1.       Setting up Sync is a one-time process that permanently puts files in File Explorer, without taking up storage space            on your device.

2.       Watch a 90-second video demonstration about using Sync on your SharePoint files and folders.

Map a network drive to SharePoint instead

When you're mapping a network drive to a SharePoint document library:

  • The steps that require a web browser must be performed in Internet Explorer (version 10 or 11). 
  • A mapped drive is only available when you're online.
  • Performance depends on connectivity speed.
  • To maintain the mapped network drive after it's established, you should periodically (say, every two weeks) navigate to the SharePoint library in Internet Explorer. This action refreshes an underlying "security token" that gives you permission to have the network drive mapped to the online library.

Three-step process for mapping a drive

Get the address details of the SharePoint site or library

  1. Open Internet Explorer and go to the Microsoft 365 sign-in page at https://portal.office.com.
  2. Sign in with the username and password for your work or school account.
  3. On the home page, open SharePoint in your browser. Then navigate to the site whose library you want to map.
  4. Select the document library that you want to map to. 

In the example picture above, we've navigated to a Contoso.com team site and selected the library named Documents

5. If you're using modern SharePoint, switch to classic SharePoint: At the bottom of the navigation pane on the left, select Return to classic SharePoint. If you're using classic SharePoint, go to step 6. 

6.On the Ribbon at the top, select Library

7.Select Open with Explorer.

Windows File Explorer opens.

8.Select the address box and copy the "https://..." address shown there. 

In Internet Explorer, add the SharePoint document library to Trusted Sites

  1. In Internet Explorer, select the Settings    icon near the top right and then select  Internet options.
  2. Select the Security tab, then select Trusted sites.
  3. Select Sites
  4. Under Add this web site to the zone, enter the root of the site you want to map to, as illustrated in the previous procedure. The root is https:// plus the first part of the address (before the first instance of a single "/" character.) For example, using the document library illustrated in the previous procedure, the root of the site is: https://contoso.sharepoint.com
  5.  Select Add.

Map a drive to your document library

  1. Switch back to File Explorer.
  2. In the pane on the left, right-click the Network folder and select Map network drive.
  3. Click the link named Connect to a web site that you can use to store your documents and pictures.
  4. Click Next twice to walk through the informational steps of the Add Network Location wizard.
  5. Under the Specify the location of your site heading, in Internet or network address box, paste the address you copied from File Explorer earlier, then select Next.
  6. Enter a descriptive name for your network location. (This name will appear as an entry in the left pane of File Explorer, under This PC or My Computer, next to a folder icon.)
  7. Select Next, then select Finish.

In File Explorer, the mapped library appears as a folder item under This PC:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us