Skip to main content

AADSTS20012: WS-Federation message is not valid

The WS-Federation message is not valid.

What to check​

  1. Ask the federation administrator to check the incoming message against the expected WS-Federation format.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The WS-Federation message is not valid.

Microsoft remediation: Ask the external identity provider's administrator to investigate the response.

Open AADSTS20012 in Microsoft’s lookup