RogerSelwyn / O365-HomeAssistant

Office 365 integration for Home Assistant
MIT License
178 stars 14 forks source link

Unauthorized client #220

Closed uSlackr closed 2 months ago

uSlackr commented 2 months ago

My integration stopped working due to the client expiring. I followed the docs to create a new app and client secret. Set permissions as I want them. Upon restart and attempt to authorize, I get this error when I click the Link O365 account:

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 I didn't see a similar issue

RogerSelwyn commented 2 months ago

You didn't need to create a new app, just a new secret.

I would start again, make sure you are logging in with the correct details and follow the instructions careful. Also be careful with the client id and secret you configure the integration

RogerSelwyn commented 2 months ago

It's likely you have copied the Client id or secret wrong.

uSlackr commented 2 months ago

I already redid the secret for sure. I do them again.

\Greg


From: RogerSelwyn @.> Sent: Monday, April 15, 2024 5:22:52 PM To: RogerSelwyn/O365-HomeAssistant @.> Cc: uSlackr @.>; Author @.> Subject: Re: [RogerSelwyn/O365-HomeAssistant] Unauthorized client (Issue #220)

It's likely you have copied the Client id or secret wrong.

— Reply to this email directly, view it on GitHubhttps://github.com/RogerSelwyn/O365-HomeAssistant/issues/220#issuecomment-2057832376, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGEO6Z7R7PLEZBWS7AISSADY5RAKZAVCNFSM6AAAAABGIDE45SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXHAZTEMZXGY. You are receiving this because you authored the thread.Message ID: @.***>

uSlackr commented 2 months ago

Second times the charm. Thanks