TrueNAS Core 13.0 - can't refresh/establish OneDrive cloud credentials

I have a number of OneDrive Cloud sync tasks set up when 13.0 was first released, however one of them is now failing, seemingly because the access token needs refreshing.

If I go to the Cloud Credentials page and try logging into OneDrive, whilst the login works fine, the credentials aren’t properly populated - the access token looks different to previous credentials and the Drive ID is missing. The new credentials also can’t be saved - presumably because the Drive ID is missing.

Same happens if I try to create a new OneDrive cloud credential.

Any suggestion how to fix this ?

Alright, I’m a complete idiot.

Trying again, I realised that the cloud credential login did populate the drive list field … select from that and the Drive ID gets filled in and the cloud credentials can be saved.

User error (long time since I set this up, so I forgot how it worked), so shoot me.

Sorry for that.