I'm an end user trying to authenticate with Office 365 for purposes of accessing my xyz@harsh.com .com personal account's calendar for use in Home Assistant. You can see more about the specifics of my issue here (https://github.com/RogerSelwyn/O365-HomeAssistant/issues/41).
My main problem is that the integration successfully issues a token to the Home Assistant O365 integration, but requires re-authentication every time I restart my Home Assistant server (token re-issued each time).
Possibly related, but I'm not sure is that whenever I log into Azure (with my xyz@harsh.com .com account), I'm presented with this error:
Experiencing authentication issues
The portal is having issues getting an authentication token. The experience rendered may be degraded.
Additional information from the call to get a token:
Extension: Microsoft_AAD_RegisteredApps
Resource: self
Details: The logged in user is not authorized to fetch tokens for extension 'Microsoft_AAD_RegisteredApps' because the user account is not a member of tenant 'f8cdef31-a31e-4b4a-93e4-5f571e91255a'. Error details: AADSTS50020: User account '{EmailHidden}' from identity provider 'live.com' does not exist in tenant 'Microsoft Services' and cannot access the application '18ed3507-a475-4ccb-b669-d66bc9f2a36e'(Microsoft_AAD_RegisteredApps) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
Trace ID: a60169b2-22a5-4579-9ff7-ca7ea6b34901
Correlation ID: 9cb32bb9-8bb8-4a13-adfa-12bbbefdd42f
Timestamp: 2022-04-26 14:41:32Z
Note that it's referencing a live.com account, not my outlook.com account. This occurs whether I used Edge (logged into my outlook or live personal account on the browser but always outlook on Azure and when authenticating) and Chrome.
I'm looking for guidance on where I should start troubleshooting. Thank you.