AADSTS5001256: External provider returned an invalid ID token
An external provider returned an invalid ID token.
What to check
- 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.