Query Details
//Users with login failure due but required to change password at next logon SecurityEvent | where EventID == 4624 and SubStatus == "0XC0000224"
This query is looking for security events where users have failed to log in because they need to change their password at their next login.

Rod Trent
Released: November 4, 2020
Tables
Keywords
Operators