Skip to main content

AADSTS50163: Regular expression produced a claim that was too large

A regular expression produced a claim that was too large.

What to check​

  1. Test the replacement on representative values and reduce the size of its output.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: A regular expression produced a claim that was too large.

Microsoft does not provide a separate remediation in the lookup.

Open AADSTS50163 in Microsoft’s lookup