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.
AADSTS90002
Tenant not found
What it means
Common causes
Typo or stale value in the tenant ID/domain of the authority URL (old tenant from a sample, decommissioned test tenant).
Wrong cloud: the tenant lives in a sovereign/government cloud but the request goes to global
login.microsoftonline.com, or vice versa.The verified domain used in the authority was removed from the tenant.
A genuinely deleted tenant.
How to fix it
Confirm the tenant ID: Entra admin center > Overview shows the Tenant ID; compare character-for-character with the configured authority.
Use the tenant GUID rather than a domain name in configuration; GUIDs survive domain changes.
Verify the cloud endpoint matches where the tenant lives (e.g.
login.microsoftonline.usfor US Government) in both authority and Graph endpoints.