AADSTS20033: Federation metadata has an invalid tenant name
Federation metadata has an invalid tenant name.
What to check
- Check the tenant name in the federation provider's published metadata and its mapping in Entra.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The wording depends on the request. Use the exception returned for your sign in to identify the federation metadata problem.
Microsoft remediation: Use the exception from the actual request to find the relevant details.