Skip to main content

AADSTS5001256: External provider returned an invalid ID token

An external provider returned an invalid ID token.

What to check​

  1. Use the failure details to check the external provider's issuer, token format and configuration.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: An external provider returned an invalid ID token.

Fields in the message template: {details}.

Microsoft does not provide a separate remediation in the lookup.

Open AADSTS5001256 in Microsoft’s lookup