Question

A week ago I roll out this solution automatically map your SPO Document Library .

Everything was smooth until i changed the password of the user account. Now I get the error :

Mapping target: \xxxx-my.sharepoint.com@SSL\DavWWWRoot\personal\xxx_xxxx_xxx_xxx\Documents failed to contact O: after mapping it to \xxxxxsharepoint.com@SSL\DavWWWRoot\sites\Documents, check if the URL is valid. Error: 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.

So I am in the middle of troubleshooting I got the conclusion the workaround is either Sync the library or open the document library with explorer, manually.

enter image description here

I am looking for a PowerShell that at least launch the sync application or "Open with Explorer"enter image description here

Any suggestion?

Was it helpful?

Solution

After I turn on fiddler and start to analyze the WEBdav traffic, I noticed the frames which try to connect with O365 missed the FedAuth and rtFa parameter in the Headers/cookie.

Armed the next Open source solution , I was able to fix the problem and keep stable my Disk mapping, bypassing the cookies issue.

Another important thing are

  • To keep regular password synchronizations towards Azure.
  • Keep free of error Download Center and OneDrive For Business client.
  • Implement different GPO that keep the SSO and cokkie freshness.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top