geoffreylagaisse / Hass-Microsoft-Graph

Microsoft Graph API Presence Integration for Home Assistant
29 stars 3 forks source link

update MS account password #10

Closed ayed3 closed 1 year ago

ayed3 commented 1 year ago

the integration was working great till I change my MS account password, is this password has anything to do with this integration ?

geoffreylagaisse commented 1 year ago

Normally not. Maybe your company changed it policy and invalidated the generated clientid and secret?

ayed3 commented 1 year ago

I found that Certificate was expired so I issued new one but when I tried it , it gives me this error

Sorry, but we’re having trouble signing you in.

AADSTS700016: Application with identifier '****' was not found in the directory '****'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

geoffreylagaisse commented 1 year ago

Does the applicationid still exist in azure?

URL: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade

ayed3 commented 1 year ago

@geoffreylagaisse thanks alot , the certificate was expired and I have created new one and it works again,

usually the application ID is the one under the application it self not the ID associated with certificate

now it is working

thanks

geoffreylagaisse commented 1 year ago

Np. Here to help.