Skip to main content

AADSTS80005: Authentication agent returned an unexpected response

The authentication agent returned an unexpected response.

What to check​

  1. Retry the sign in and check the agent's event logs if it fails again.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The authentication agent returned an unexpected response.

Microsoft remediation: Retry and check Active Directory health. Contact Microsoft Support if the agent continues to return the error.

Open AADSTS80005 in Microsoft’s lookup

Microsoft Learn: Find help and get support for Microsoft Entra - Microsoft Entra