Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50163

Regular expression replacement for claims transformation has resulted in a claim which exceeds the size limit

Alternative forms: 50163

Code AADSTS50163 · An issue reported by Microsoft Entra ID.

Regular expression replacement for claims transformation has resulted in a claim which exceeds the size limit. Please contact your admin to fix the configuration.

Troubleshooting and diagnostic links

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