AADSTS90002

Tenant not found

Last reviewed 2026-07-18 by the Just Software engineering team ยท also seen as 90002, tenant not found

What it means

AADSTS90002 โ€” "Tenant not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. This may happen if there are no active subscriptions for the tenant." The tenant GUID or domain name in the request's authority does not exist (or is not visible) where the request was sent. Almost always a configuration error in the authority URL, occasionally a cloud-environment mismatch.

Common causes

  1. Typo or stale value in the tenant ID/domain of the authority URL (old tenant from a sample, decommissioned test tenant).

  2. Wrong cloud: the tenant lives in a sovereign/government cloud but the request goes to global login.microsoftonline.com, or vice versa.

  3. The verified domain used in the authority was removed from the tenant.

  4. A genuinely deleted tenant.

How to fix it

  1. Confirm the tenant ID: Entra admin center > Overview shows the Tenant ID; compare character-for-character with the configured authority.

  2. Use the tenant GUID rather than a domain name in configuration; GUIDs survive domain changes.

  3. Verify the cloud endpoint matches where the tenant lives (e.g. login.microsoftonline.us for US Government) in both authority and Graph endpoints.

An unhandled error has occurred. Reload ๐Ÿ—™