AADSTS500021: Tenant restrictions block access to the target tenant
Tenant restrictions block access to the target tenant.
What to check
- Confirm the tenant you intended to access and ask the administrator responsible for tenant restrictions to review the event.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: Tenant restrictions block access to the target tenant.
Fields in the message template: {tenant}.
Microsoft remediation: Ask your IT team to check which tenant restrictions applied.