Noob trying to connect to Office 365 personal account - (Re)authentication issues/errors

MicrosoftGoody 1 Reputation point
2022-04-26T15:02:03.383+00:00

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.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,928 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2022-04-26T15:07:44.367+00:00

    O365 is not currently supported here on Q&A. The product group for Office 365 actively monitors questions over at
    https://answers.microsoft.com/en-us/msoffice/forum/msoffice_account

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. MicrosoftGoody 1 Reputation point
    2022-04-27T14:16:50.103+00:00