Help Configuring OneDrive

I’ve been trying to get the new OneDrive integration working, but I’m stuck.

I’m not a Home Assistant Cloud customer, which I think needs I need to make an Azure Application (if I’m wrong about this, I’d love to know how to get to the Auth Flow shown in the docs!). I’ve done the steps linked in Application credentials - Home Assistant and have tried a bunch of tweaks, but keep just getting this error when trying to connect to OneDrive:

## We're unable to complete your request

unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at https://go.microsoft.com/fwlink/?linkid=2083908.

Does anyone have a tutorial or guide for setting up the OneDrive integration?

Josh

Good question. The docs would use a lot of improvement.

Here 2025.2: Iterating on backups - #106 by francisp I posted my adventures, still not working as is.

You don’t need to have a subscription to use Home Assistant cloud account linking. Did you maybe disable parts of the default_config?

The error you’re getting with your own credentials most likely means you didn’t select the correct account type when configuring the application and are now trying to sign in with a personal account against an app that doesn’t allow personal accounts.

What do I need from the default_config? I don’t have that enabled, actually.

config, my and I’m not sure if you need cloud as well

1 Like

cloud was the one I was missing; thanks!

What did you use for OAuth client secret ?

I updated the docs a bit, but tbh I’m not putting too much focus on a feature that 99.9% of users won’t use.
You’ll need a client secret from this section of the linked MSFT documentation.

1 Like