Ondrive Personal Client ID and Key creation changed - help needed

See:

Any Microsoft guru here? I think we need some expert help to document how do it now.

hi @kapitainsky,

just now, being very careful to follow the docs,
i created a remote for onedrive personal, it worked just fine.

image

rclone about rclone01:
Total:   5 GiB
Used:    819.200 MiB
Free:    4.200 GiB
Trashed: 0 B

and i got the expected email from ms

Microsoft account
New app(s) have access to your data
rclone01 connected to the Microsoft account [XXX@hotmail.com](mailto:XXX@hotmail.com).

Maybe I was not 100% clear but It is not about remote setup (this works) but creation of own Client ID and Key as described here - immediately in step 1 I see this:

i followed the docs exactly, which includes creating a new client id+secret

rclone config redacted rclone01:
[rclone01]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = personal

sorry, still not exactly sure what you need help with?

Maybe you use your hotmail account which is already registered to some Dev/Azure services? In my case I try totally new onedrive account with user's email never used before.

See my screenshot above - I started seeing it few weeks ago with new accounts. Not able to create client_id any more following rclone docs.

When I try to create New Registration I am informed about changes and only option is to Cancel all process.

PS. If you have existing client_id/key created before they still work BTW. I imagine until they expire (2 years max)

personal or business?

Personal.

I have not tried business.

ok, i created a new personal email account and i see that same message.

Thank you for another pair of eyes - always good to double check.

So new OneDrive Personal users are not able to create client_id any more... I have tried to register for Developer Program but then I am lost. Maybe for somebody familiar with MS ecosystem it is trivial to see what to do.

Hi, I my rclone config had been working great for the last two years, but today it broke somehow. I think this issue could be related.

I tried to reconfig using rclone config reconnect, the procedure completed succesfully.

But then when I try to sync a file, I get the following error:

2024-08-21 16:33:20 NOTICE: Documenti/blabla/ImmaginiMenu/crostata.jpg: Failed to cancel multipart upload: unauthenticated: Unauthenticated (upload failed due to: unauthenticated: Unauthenticated)
2024-08-21 16:33:20 ERROR : Documenti/bla/ImmaginiMenu/crostata.jpg: Failed to copy: unauthenticated: Unauthenticated

Hard to tell as you provide very few details. Try to create new remote. It works as always. Do not provide client_id for test.

[onedrive]
type = onedrive
token = {"access_token":"xx$", ........}
drive_id = xxx
drive_type = personal

my config file looks like this, I don't have a client_id.

If you think this is not related, I'll gladly open a new thread. My speculation is that something changed in the Microsoft backend.

Ok. This is not related.

So new thread:). I am noticing a lot of weird onedrive behaviour lately.

ditto.
the only way i could figure out, would involve giving micro$oft my phone number and a credit card number.
and even then, not exactly sure what would happen and what i might be charged for, down the road.

how can i complain, about a free email address i have been using for decades.
in the end, the free storage is a tiny, almost useless 5GiB.
tho i am curius about new business accounts and family plans, as i a few of those.

i am sure micro$oft noticed all the rclone users using unions on multiple free accounts, for backups, streaming, crypt remotes and other trickery.

Correct nobody cares about 5GiB free account:) But the same behaviour happens on MS Office Family accounts - this is what a lot of people use.

Possible but unlikely IMO. It is not unlimited at the end. Yes using Union you can get nice storage space but it still cost $1/month/TB so the worst abusers are deterred.

I suspect some new updates being rolled out and as often they bring new bugs and issues.

I asked this question a while back with no success either:

1 Like

Yeap - for sure we have to update docs but we need somebody to figure out first how to create clinet_id using new Microsoft approach. I have tried but could not figure it out.

I don't have the time to look at it right now, but might this page be helpful about the new way to do this?

This will affect me next year, so thanks for pointing it out, perhaps we can both chip in to amend the documentation once we figure it out.

All that’s needed is to signup for Azure.

After you do and are logged in, the page in documentation works as usual.

Theoretically, the 30 day demo account is ideal, as it’ll auto-destruct (hopefully not taking the registration with it).