Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50124

Invalid regular expression configured for claims transformation for this application

Alternative forms: 50124

Code AADSTS50124 · An issue reported by Microsoft Entra ID.

Invalid regular expression configured for claims transformation for this application. Contact your tenant admin to fix the claims mapping configuration. See Customize SAML token claims

Troubleshooting and diagnostic links

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