ReferenceCONSTRUCTED

Entra ID sign-in logs: the fields and error codes that settle an account question

Which fields in a sign-in record separate a traveller from a stolen session, what the common error codes mean, where non-interactive sign-ins hide, and how long any of it is kept.

version 1.0checked 2026-09-26cloud3 min read

T1078.004T1621T1110.003

Before anything else: retention

Entra ID keeps sign-in logs for 7 days on the free tier and 30 days with P1 or P2. Past that, they exist only if somebody exported them to a SIEM or a storage account. If the tenant you are investigating has never exported them, export now, before you read a single row.

Four logs, not one

LogWhat it holdsWhere people forget it
Interactive user sign-insA person entering credentials or completing MFAThis is the one everybody opens
Non-interactive user sign-insToken refreshes and sign-ins a client makes on the user's behalfA stolen session replayed from elsewhere shows up here, not above
Service principal sign-insApplications signing in as themselvesAn abused app registration or consent grant
Managed identity sign-insAzure resources signing inCompromised workloads

In Sentinel they are separate tables: SigninLogs, AADNonInteractiveUserSignInLogs, AADServicePrincipalSignInLogs and AADManagedIdentitySignInLogs.

The fields that decide it

FieldWhat it tells youWhat to watch for
ipAddressThe address the sign-in came fromEnrich with the provider (ASN). Hosting and anonymising VPN providers are rare for real users
locationCity and country, derived from the addressThe least reliable field. Mobile carriers and VPNs place people far from where they are
appDisplayName, resourceDisplayNameWhat was signed in to, and what it asked for access toA first sign-in from a new address going straight to Exchange Online or the Azure portal
clientAppUsedBrowser, mobile app, or a legacy protocolLegacy protocols such as IMAP or SMTP cannot do MFA
deviceDetailBrowser, operating system, device ID, whether the device is compliant or joinedAn unmanaged device for a user who only ever uses a managed one
authenticationRequirementWhether the policy required single or multi-factorA risky sign-in that satisfied only a single factor
authenticationDetailsEach method used and whether it succeeded"MFA requirement satisfied by claim in the token" means no prompt was answered for this sign-in
conditionalAccessStatusWhether policies applied, and passed or failednotApplied on an account you expected to be covered
riskLevelDuringSignIn, riskStateIdentity Protection's view, where licensedHigh risk remediated by the user resetting their own password
correlationIdTies together the records of one sign-in flowFollow it to see the whole attempt
isInteractiveInteractive or notFilter on it when one export holds both

Error codes worth knowing by number

status.errorCode is 0 for success. The ones that come up most in an investigation:

CodeMeaningReading it
0Success
50126Invalid username or passwordMany accounts, one source, a short window: password spraying
50053Account locked, or sign-in blocked from a suspicious addressSmart lockout doing its job, or a spray hitting its limit
50055Password expired
50057Account disabledAttempts against a disabled account are worth a look
50074Strong authentication requiredAn interrupt, not a failure: the user was sent to MFA
50076MFA required because of location or conditionsAlso an interrupt, common and usually benign
50079The user must register for MFAOn an account that should already have MFA, check who registers what next
500121Authentication failed during strong authenticationDenied or unanswered MFA prompts. Repeated, it is MFA fatigue
53003Blocked by Conditional AccessA policy stopped it. Which one is in the Conditional Access tab

Codes change and new ones are added. Check an unfamiliar one against Microsoft's error code reference rather than guessing from the number.

Two patterns to recognise

The relayed login. A successful interactive sign-in with MFA from the user's own address, followed within minutes by non-interactive sign-ins for the same user from a hosting provider. That is a phishing kit that let the user complete MFA and kept the session. See the first-15-minutes checklist.

The spray. Failures with 50126 across many accounts from a handful of addresses, one or two attempts per account, then a single success. Look at what the successful account did next.

sources

  1. Microsoft Learn: sign-in logs in Microsoft Entra ID · primary
  2. Microsoft Learn: Entra authentication and authorization error codes
  3. Microsoft Learn: SigninLogs table reference
  4. Microsoft Learn: AADNonInteractiveUserSignInLogs table reference
  5. Microsoft Learn: Entra ID data retention

Tags: entra-id · azure-ad · sign-in · identity · cloud · cheat-sheet · microsoft · T1078.004