Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS90002

InvalidTenantName

Alternative forms: 90002

Code AADSTS90002 · An issue reported by Microsoft Entra ID.

InvalidTenantName - The tenant name wasn't found in the data store. Check to make sure you have the correct tenant ID. The application developer will receive this error if their app attempts to sign into a tenant that we cannot find. Often, this is because a cross-cloud app was used against the wrong cloud, or the developer attempted to sign in to a tenant derived from an email address, but the domain isn't registered.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.