AADSTS90051: National cloud identifier is not valid
The national cloud identifier is not valid.
What to check
- Compare the cloud identifier and authority hostname with the intended Microsoft cloud.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The national cloud identifier is not valid.
Fields in the message template: {cloudId}.
Microsoft does not provide a separate remediation in the lookup.