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

Bug reports without an attached log file are usually useless.

Options

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

martin

## Re: Microsoft OneDrive with WebDAV

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

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

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

## Re: Microsoft OneDrive with WebDAV

OK, then my bad, I read the wrong forum topic for logging.

## 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:
https://winscp.net/forum/viewtopic.php?t=30161
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.

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

## 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

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

## Re: Microsoft OneDrive with WebDAV

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

## Microsoft OneDrive with WebDAV

Hi,

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

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