I can't map a network drive to sharepoint

I just tested this myself on the latest build of Windows 10 and in fact I am seeing the same issue: NET USE B: https://tenant.sharepoint.com/library results in System error 224 has occurred error out of the box.

Anyhow, I was able to get it working by doing the following:

  1. Add https://*.sharepoint.com to list of Trusted Sites
  2. Open https://tenant.sharepoint.com via Internet Explorer and select Keep me signed in before entering your credentials
  3. As soon as credentials are entered and you are successfully logged in to the site via IE, NET USE B: https://tenant.sharepoint.com/library works.

Anyhow, it is likely you might need to do that after every reboot, so that is the reason there are already some community scripts that automate this (i.e. OneDriveMapper). Windows 10 (not Windows 8) allows mapping your Office 365 account to your local account, so doing that should eliminate the issue as well.


Another way this can be done is with a commercial product called WebDrive (full disclosure: I work for the developer of this product). WebDrive maps a persistent drive letter to SharePoint Servers (and many other cloud services and server types as well).

A huge benefit for system admins is the ability to preconfigure settings and push them out to all of your users. You can download a free trial here.