ResultType is a field in Microsoft Entra ID sign-in logs in Log Analytics (SigninLogs) that holds the sign-in result code, where 0 means success and other values are error codes. Defenders filter on it to find failed sign-ins, such as 50126 for invalid username or password, and spot password spraying by many failures across accounts followed by a success.
What ResultType Represents in Sign-In Telemetry
ResultType is the outcome field that turns raw Entra ID sign-in events into something defenders can query at scale. It distinguishes successful authentications from failures and lets analysts separate healthy background activity from authentication errors, denial patterns and suspicious login bursts.
Because it lives in Entra ID Sign-In and Audit Log Detection Guide, the field is best understood as a log-analysis primitive rather than a security control on its own.
How Defenders Use It for Filtering and Triage
The practical value of ResultType is simple: it provides a fast way to query for failed sign-ins, then pivot from those failures into the surrounding context. That makes it useful for triage, especially when an analyst wants to isolate authentication noise, confirm whether failures are user error or something more systematic, and build a first-pass view of sign-in health.
In KQL, the field is often used with other sign-in attributes such as user principal name, application, IP address, conditional access outcome and timestamp. The result code alone does not prove malicious activity, but it is a reliable starting point for narrowing the event set before deeper investigation.
Why Result Codes Matter for Attack Detection
Repeated failure codes can expose credential attacks that would otherwise blend into normal login traffic. A common example is password spraying, where an attacker tries one or a small number of passwords across many accounts and later follows up with a success if one account accepts the guess.
The defensive value comes from pattern recognition, not the numeric code by itself. A single failed authentication is ordinary; many failures across accounts, followed by a successful sign-in from a similar source or within a short window, is the pattern that deserves attention. ResultType helps defenders separate that sequence from routine helpdesk mistakes or intermittent user lockouts.
Interpreting Success, Failure and Follow-On Context
A value of 0 indicates success, while other values identify error conditions. That distinction matters because defenders often need both sides of the story: the failed attempts that show pressure on an account, and the eventual success that may mark the point where abuse began. The result code therefore supports both alerting and retrospective review.
When reviewing a suspicious sequence, analysts should combine ResultType with the surrounding session and sign-in context, including device, location, application and authentication method. That broader context helps answer whether the event was a benign user mistake, a control failure, or a sign-in pattern that merits escalation.
Risk and Threat Considerations
ResultType is high-value telemetry because it highlights where authentication is being tested, denied or potentially abused. The main risk is overreading a single failure or, equally, underreading repeated failures that indicate a systematic credential attack.
Failure mechanism: An attacker can generate large volumes of failed sign-ins to probe for valid credentials, valid accounts or weak password hygiene, then pivot to a success when one attempt works.
Impact: If defenders miss the pattern, the same field that should support triage can instead become a lagging indicator of account compromise, suspicious access and possible lateral movement.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1110 — Brute Force | ResultType surfaces failed sign-ins that can indicate password spraying and brute-force authentication attempts. |
| Recommendation — Map repeated failures to credential-attack patterns and investigate correlated success events and source reuse. | ||
| NIST SP 800-53 Rev 5 | AU-6 — Audit Record Review, Analysis, and Reporting | SigninLogs are audit records used to detect and investigate failed and suspicious authentication activity. |
| Recommendation — Review sign-in audit records for failure clusters, anomalies and follow-on successes. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | ResultType is a log field used to filter and analyze authentication events for detection and investigation. |
| Recommendation — Centralize and analyze sign-in logs so failed and successful authentications can be correlated. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The field helps spot authentication failures and patterns that may reflect weak or abused login flows. |
| Recommendation — Investigate authentication failures for weak controls and repeated abuse patterns. | ||
Practitioner Guidance
What to watch for: Treat ResultType as a filter, not a conclusion. The meaningful question is usually whether failures cluster by account, source, application or time window, and whether they culminate in a success that breaks the pattern.
Practitioner takeaway: Use the field to reduce noise quickly, then corroborate it with surrounding sign-in attributes before deciding whether the event is user error, control drift or active abuse.
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org