Microsoft OneDrive with WebDAV

Advertisement

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,605
Location:
Prague, Czechia

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

madjo1983
Guest

Re: Microsoft OneDrive with WebDAV

Trying to log but I don't succeed.
I don't see the option in WinSCp.
Then tried in command line like:
davs://prefix%40suffix@d.docs.live.net/path/ /log="C:\Temp\winscp.log" /loglevel=0
But no log is generated...
and still get the error message I put in attachment.

Cheers.
O.

Capture d’écran 2020-11-13 090320.png

Reply with quote

Advertisement

madjo1983
Guest

Re: Microsoft OneDrive with WebDAV

That's what I did:
davs://prefix%40suffix@d.docs.live.net/path/ /log="C:\Temp\winscp.log" /loglevel=0
not working...

Reply with quote

martin
Site Admin
martin avatar

Re: Microsoft OneDrive with WebDAV

Where did you do that? Show us a complete code/script/commandline, whatever you are doing.

Reply with quote

Advertisement

madjo1983
Guest

Re: Microsoft OneDrive with WebDAV

martin wrote:

Where did you do that? Show us a complete code/script/commandline, whatever you are doing.
I did it in in winscp command line...

Sans titre.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Microsoft OneDrive with WebDAV

Sorry, I do not know how to help you, only to suggest that you tripple check your credentials and your "customer id". If I follow the instructions in the documentation, I can login to my personal OneDrive account without any problem.

Reply with quote

madjo1983
Guest

Re: Microsoft OneDrive with WebDAV

OK nevermind.
It happens when double check is activated.
At first I tried the app password (https://account.live.com/proofs/AppPassword) but it was not working. I tried with another onedrive account, and the app password worked.
Then I tried again with first account, and tada !!! working.

Then it is as the https://winscp.net/forum/viewtopic.php?t=30161, you have to use app password if you have double check activated on your microsoft Account...

Reply with quote

martin
Site Admin
martin avatar

Re: Microsoft OneDrive with WebDAV

Thanks for sharing your solution. How does one activate the "double check"?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum