Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

madjo1983

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/manage/additional#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 Failure accessing OneDrive, you have to use app password if you have double check activated on your Microsoft account...
madjo1983

Re: Microsoft OneDrive with WebDAV

Do you see smthg wrkong on screenshots attached ?
martin

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.
madjo1983

Re: Microsoft OneDrive with WebDAV

OK, then my bad, I read the wrong forum topic for logging.
Here the log in attachment.
madjo1983

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...
martin

Re: Microsoft OneDrive with WebDAV

Check also this post:
Failure accessing OneDrive
While I do not know what @rmuller means by the "app password", maybe you would know.
martin

Re: Microsoft OneDrive with WebDAV

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

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...
martin

Re: Microsoft OneDrive with WebDAV

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument.
madjo1983

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.
martin

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.
madjo1983

Regular one.
martin

Re: Microsoft OneDrive with WebDAV

Is it a regular end-customer OneDrive account? Or OneDrive for business?
madjo1983

Microsoft OneDrive with WebDAV

Hi,

I used https://winscp.net/eng/docs/guide_microsoft_onedrive post and I don't succeed in connecting, getting error:

Could not authenticate to server: Missing Authentication-Info header
La connexion a échouée.

Any tip please?

Thanks. O.