Skip to main content

AADSTS20001: Federation provider returned an error when the user signed in

The federation provider returned an error when the user signed in.

What to check​

  1. Ask the provider administrator to trace the response at the time of the failed request.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The response from the federation provider did not contain an issued token.

Microsoft remediation: Ask the federation provider to investigate why a readable WS-Federation response did not include a SAML 1.1 assertion for the user.

Open AADSTS20001 in Microsoft’s lookup