Skip to main content

AADSTS50027: JWT did not pass validation

The JWT did not pass validation.

What to check​

  1. Check the reported claim or formatting problem and compare the token with the expected JWT schema.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The lookup reports an invalid or malformed JWT but does not name one specific cause.

Microsoft remediation: Ask the app owner to check the JWT format, issuer, audience, validity period and required claims. Check for missing or duplicate claims and for a mismatched subject.

Open AADSTS50027 in Microsoft’s lookup