Not authenticating for Microsoft Onedrive

What is the problem you are having with rclone?

I cannot configure a connection to Microsoft Ondrive, because the authentication does not complete. It redirects in the browser to with all the parameters but produces then a timeout.

Run the command 'rclone version' and share the full output of the command.

rclone v1.65.1

  • os/version: Microsoft Windows 10 Home 22H2 (64 bit)
  • os/kernel: 10.0.19045.3930 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.5
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Microsoft Onedrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

type = onedrive
region = de

welcome to the forum,

  • perhaps in the browser, you are already logged into a microsoft website?

  • might try a private browser window or try a different browser.

  • can run rclone config -vv for debug output

It is the same as below case:


region = de


region = global

The root cause is that:

Azure Germany is being deprecated in favor of standard nonsovereign Azure regions in Germany.

Maybe time to remove DE from options here.


Wasn't it best then, @ncw , to remove that long outdated option 3?

Yes the de option was causing the problem. Thanks for the info. And too bad that Microsoft does not permit me to choose a datacenter. But well, it seems when you work with those big players your control is limited.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.