Mapping Network Drive for Office 365 and SharePoint Online

If you are trying to map the network drive to SharePoint Online document library or any other libraries like Master Page Gallery for design manager from your windows explorer and if you come across this error –  “The Mapped Network Drive could not be created because the following error has occurred: Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site and select the option to login Automatically.”, here are some options and reference blog articles I have tried to make it work.

Situation: I needed to map the network drive to update design templates for content search web parts and encounter an error while trying to map network drive with traditional on-premises method on 64-bit Windows 8 Enterprise desktop machine with Internet Explorer 10 and 32-bit Office 2013 professional plus edition installed.

2

3

4

5

7

Prerequisites: To configure WebDEV for SharePoint online sites, I needed to ensure I have following options configured on my desktop, IE, and SharePoint Online sites in addition to 32-bit Office 2013 professional plus edition. Although I haven’t tested, my understanding is WebDEV doesn’t work for 64-bit Office 2013 edition.

  • Add SharePoint Online Site URL to the trusted site on the IE. You can optionally trust all the SharePoint Online sites by adding https://*.sharepoint.com.

8

  • Make Sure WebClient windows service is running under Local Service account. This is the WebDEV service running on the windows desktop making SharePoint online libraries available through windows explorer or any other windows client utilities. E.g. if you are planning to sync OneDrive for Business to your OneDrive client and sync doesn’t work, you may want to ensure this service has started.

9

  • Uncheck “Enable Protected Mode” for internet zone in the IE.

10

  • Check “Keep me signed in” while logging into the SharePoint Online site

11

  • Make sure user has atleast contribute permission to the SharePoint Online site, document library, or galleries. In my case – user has site collection administration permission.

14

Verification: Once you have all the options configured properly, plan to login to the SharePoint Online site using internet explorer. At this moment, you can follow similar steps as above (in situation section) to map the network drive from windows explorer and you should be able to map the SharePoint online libraries.

14_4

14_5

You can also optionally visit any document libraries or predefined galleries like master pages and open the library using “Open with Windows Explorer” option.

19

20

References

This is one of those personal reminder/reference articles for me. This seems like fairly common configuration required for SharePoint Online designers. Although each configuration may require different solution depending on desktop operating system, browser version, and office version, hopefully some of the pointers mentioned in this article would be helpful. If you come across different solution for different scenario, please don’t forget to drop the note and your resolution in comments section!!!!

Advertisements
This entry was posted in Office 365, SP2013 Online. Bookmark the permalink.

5 Responses to Mapping Network Drive for Office 365 and SharePoint Online

  1. mjthinkscape says:

    Hi Nik. This process of mapping the drives and authenticating with Internet Explorer to SharePoint Online/OneDrive for Business can be scripted to improve reliability of the drives being mapped at Windows startup. Take a look at the Powershell scripts available at http://www.lieben.nu/numb3rs/?page_id=129 and http://office365drivemap.codeplex.com/

    Automating Internet Explorer to authenticate can still be unreliable as the cookie needs to flow through from Internet Explorer to the webclient service that does the mapping to SharePoint Online. Zee Drive, a dedicated drive mapping tool for OneDrive for Business and SharePoint Online, authenticates directly to Office 365, bypassing Internet Explorer, cookies, and the web client service. Zee Drive will ensure you are always authenticated and your drive mappings available on sign in to Windows. Find out more here: http://www.thinkscape.com/Map-Network-Drives-To-Office-365-OneDrive/

    Myles

  2. Nik Patel says:

    Thanks for your valuable feedback… Agreed on automating for reliable and repeatable approach..

  3. Worked a treat, Thank you

  4. Tiago Duarte says:

    great article. managed to get my site into trusted sites using a small hack (http://www.grouppolicy.biz/2010/03/how-to-use-group-policy-to-configure-internet-explorer-security-zone-sites/) and had to login once for it to work.

  5. Pingback: Mapping Network Drive for Office 365 and SharePoint Online | Mir Hassan Shahani

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s