Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS501631

Regular expression replacement for claims transformation results in too many replacements in the input sourceClaim

Alternative forms: 501631

Code AADSTS501631 · An issue reported by Microsoft Entra ID.

Regular expression replacement for claims transformation results in too many replacements in the input sourceClaim. 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.