When I am trying to map a network drive via command prompt, I receive the following error for both user and administrator. The credentials are obviously correct and the admin user is also site collection owner with full control permissions (WebDav as well).
I can map a network drive without issue via explorer>rightclick>map a network drive. I can also open the library in explorer. Sharepoint is added to trusted sites. Tested on two Windows 8 computers, cannot test on Win7 at the moment.
C:\Users\Admin>net use r: "https://domain.sharepoint.com/sites/codesite/example/Shared Documents" Password /user:firstname.lastname@example.org System error 1244 has occurred. The operation being requested was not performed because the user has not been authenticated.
Any ideas what I am doing wrong?
EDIT: I have tried on Windows 7 both at work and now at home (guys, it's Friday night). At work same issue. At home I received first system error 224 "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." After editing registry key HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters BasicAuth=2 to accept non SSL connections I began getting the initial 1244 error.
Seeing that I managed to reproduce the issue on 2 different networks and systems, I have to ask: is such mapping/authentication supported by Sharepoint Online? If no, what is the difference between manual mapping and cmd mapping that prevents it?