Can't change AuthID for OneDrive

I use OneDrive as remote backup. After changing the login password at Microsoft I had to redo the AuthID for Duplicati. The process went flawless. I used “Reveal password” option to see if the ID changed. It did. But not saved. “Export” gives the old AuthID. Tryting to restore ends in authorization error.

2.2.0.100 - 2.2.0.100_canary_2025-11-05, ngclient

Did you Submit job configuration change? Continue to Options, or click directly.

Since you asked, I made sure I did. It turns out that the AuthID is saved if you type it in manually. When retrieved from “Duplicati OAuth Handler” though, the old ID stays.

You can create a dummy task and type a random AuthID in. It will be saved. If you then go through “Duplicati OAuth Handler”, you successfully get the real AuthID. But “Export” will show your previous random ID. And backup won’t work.

Regarding the need to Submit, edit in new UI seems to submit on Next (but not top bar of numbered screens). You can use browser developer tools (F12?) to watch it. Maybe this was to reduce the number of lost edits from those who don’t do Submit.

It’s still not instant save (new UI Settings seems to have a few), but it may be nice.

New job doesn’t do this, maybe because sufficiently partial job will get server error. Developers could probably say more, but meanwhile it’s something you can watch.

The bigger deal is that Oauth Handler Authid filling in its field might not be working. Have you by any chance tried it in 2.2.0.1? If it’s just Canary somehow, good catch.

Yes, the latest version seems to be working fine. But another issue is that “Export as command-line” replaces colon in AuthID with %3A

This annoys me too, and is non-obvious to the typical user, I would expect.
There is a forum post on this, but the plan was to start using correct URLs.
This was for compatibility with standard tools, but that idea fell apart a little.
Proper URLs don’t allow Unicode in host part, but Duplicati can need them.
Some of its URL-like formats use the first part for things like the path name.

some destination parts force entry input to lower case or Punycode #376

Correct URLs don’t allow colon except in specific spots. We need dev input.