Skip to content
Dashboard
Theme
Theme

Entra AADSTS50020: account is not in the tenant

What this Microsoft Entra ID error means for an OhAuthCat connection and what to change.

View Markdown

The user signed in with an account from another identity provider or tenant (often a personal Microsoft account or a guest from another company) that does not exist in the tenant the connection uses.

  • User: sign out of Microsoft and sign in with the work account from the company that owns the connection.
  • IT admin: if the person really should have access, invite them as a guest user and assign them to the application.
  • Developer: confirm the user picked the right organization; a routing hint by email domain sends them to the right tenant.

None. OhAuthCat never receives this request, so it has no matching error code; the error appears only in the IdP.

Written in our own words from the public Microsoft Entra ID documentation: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes. Check it for the vendor’s current wording; vendors change their pages without notice.