Low severityauthentication
Power BI Error:
AADSTS80005
What does this error mean?
Pass-through Authentication (PTA) Agent returned an unhandled exception while validating on-premises AD credentials.
Common causes
- 1Pass-through Authentication Agent service (AzureADConnectAuthenticationAgentService) is stopped, crashed, or in a degraded state on the on-prem server
- 2PTA Agent host cannot reach a writable domain controller (firewall, DNS, or LDAP/Kerberos port blocked)
- 3Outbound connectivity from the PTA Agent to *.msappproxy.net / Azure Service Bus (ports 443/80) is blocked or proxied incorrectly
- 4Outdated PTA Agent version with known WCF/exception-handling bugs (upgrade to the latest agent)
- 5Transient failure inside the Authentication Agent (timeout, TLS handshake, or unhandled exception in the validator pipeline)
How to fix it
- 1On every server running the Pass-through Authentication Agent, verify the 'Microsoft Entra Connect Authentication Agent' service is running and restart it; check the Application event log for exceptions from source 'AzureADConnectAuthenticationAgentService'
- 2In the Microsoft Entra admin center → Hybrid management → Pass-through authentication, confirm all registered agents show status 'Active'; deploy a second agent for HA if only one exists
- 3From the agent host, validate outbound HTTPS to *.msappproxy.net and Azure Service Bus, and verify LDAP/Kerberos reachability to a writable domain controller (test with nltest /dsgetdc and a test bind)
- 4Upgrade the PTA Agent to the latest version (older builds have known unhandled-exception bugs that surface as AADSTS80005) and re-register if needed
- 5If the error persists after agent restart and connectivity checks, collect the agent trace logs from %ProgramData%\Microsoft\Azure AD Connect Authentication Agent\Trace and open a Microsoft support ticket — this code explicitly indicates an exception Microsoft needs to inspect