Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS500213

NotAllowedByInboundPolicyTenant

Alternative forms: 500213

Code AADSTS500213 · An issue reported by Microsoft Entra ID.

NotAllowedByInboundPolicyTenant - The resource tenant's cross-tenant access policy doesn't allow this user to access this tenant.

Troubleshooting and diagnostic links

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