AADSTS50000 - TokenIssuanceError (Sign-in service issue)
AADSTS50001 - InvalidResource (Resource disabled or doesn't exist)
AADSTS50053 - IdsLocked (Account locked due to suspicious activity)
AADSTS50055 - InvalidPasswordExpiredPassword (Password expired)
AADSTS50057 - UserDisabled (User account disabled)
AADSTS50058 - UserInformationNotProvided (SSO session issue)
AADSTS50059 - MissingTenantRealm (Tenant not found)
AADSTS50076 - UserStrongAuthClientAuthNRequired (MFA required)
AADSTS50079 - UserStrongAuthEnrollmentRequired (MFA setup required)
AADSTS50105 - EntitlementGrantsNotFound (User not assigned to app role)
AADSTS53000 - DeviceNotCompliant (Conditional Access: Device not compliant)
AADSTS53001 - DeviceNotDomainJoined (Conditional Access: Device not domain-joined)
AADSTS53003 - BlockedByConditionalAccess (Access blocked by policy)
AADSTS530032 - BlockedByConditionalAccessOnSecurityPolicy (Tenant security policy block)
AADSTS65001 - DelegationDoesNotExist (User/admin hasn’t consented to app)
AADSTS700016 - UnauthorizedClient_DoesNotMatchRequest (App not found in tenant)
AADSTS7000215 - InvalidClientSecret (Invalid client secret)
AADSTS7000222 - InvalidClientSecretExpiredKeys (Expired client secret keys)
AADSTS90094 - AdminConsentRequired (Admin consent needed)
AADSTS120000-120021 (Password change failures, account lockouts, SSPR issues)
| eval category=case(
resultType==0, "Success",
resultType==35000, "CA",
true(), "Others"
)
| stats count by category
| join type=outer category [
search index="azure" category="SignInLogs" earliest=-30d@d latest=-1d@d
| eval category=case(
resultType==0, "Success",
resultType==35000, "CA",
true(), "Others"
)
| bin _time span=1d
| stats count by category, _time
| stats avg(count) as avg_30d by category
]
| eval diff_today_vs_30d_avg = count - avg_30d
| table category count avg_30d diff_today_vs_30d_avg