Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS80012

OnPremisePasswordValidationAccountLogonInvalidHours

Alternative forms: 80012

Code AADSTS80012 · An issue reported by Microsoft Entra ID.

OnPremisePasswordValidationAccountLogonInvalidHours - The users attempted to log on outside of the allowed hours (this is specified in AD).

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.