Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment

Investigate a Sign-in with the Sign-in Logs

EntraReady Guides · Practical Microsoft 365 & Entra ID
Last reviewed:
Last verified against Microsoft Learn:

When someone says “I can’t sign in” or a policy didn’t do what you expected, the Microsoft Entra sign-in logs tell you who signed in, how, and to what (sign-in activity details (opens in a new tab)). This is a walkthrough for one sign-in, from finding the right entry to what to send Microsoft.

Before you start

Step by step

  1. Pick the right tab. There are four log types: interactive user, non-interactive user, service principal, and managed identity (Types of sign-in logs (opens in a new tab)). Non-interactive sign-ins are done by a client app or OS on the user’s behalf, such as token refreshes, without the user entering anything (Non-interactive sign-ins (opens in a new tab)). Background failures often only show up there.
  2. Filter. Narrow by user, application, status and date, and add the columns you need; there are over 30 to choose from (Customize and filter logs (opens in a new tab)).
  3. Read Basic info. It shows the error code and failure reason, plus the correlation ID and request ID. The Sign-in Diagnostic can be launched from here (Basic info (opens in a new tab)). Paste the code into the Error Decoder.
  4. Check Location and Device info. They show the IP address and location, the browser and OS, and whether the device is compliant, managed, or hybrid joined (Location and Device (opens in a new tab)). A device that isn’t showing as compliant here explains most “require compliant device” blocks.
  5. Read Authentication details. It lists each authentication attempt, the policies applied (Conditional Access or security defaults), and whether each step succeeded and why (Authentication details (opens in a new tab)).
  6. Read the Conditional Access tab. Success means a policy applied and was satisfied. Failure means it applied and the sign-in failed. Not Applied means the sign-in didn’t match the policy’s conditions (Conditional Access results (opens in a new tab)).
  7. Check Report-only. This tab shows how report-only policies would have handled the sign-in. Use it before you switch a policy on (Report-only (opens in a new tab)).
  8. Export if you need more. Download as CSV or JSON. Timestamps are UTC, and each file holds up to 100,000 sign-in records (Download logs (opens in a new tab)). For scripted exports, see Export sign-in logs; downloading through Microsoft Graph needs a premium license (Prerequisites (opens in a new tab)).

Gotchas

Before you open a ticket

Note the request ID, correlation ID, time (UTC) and error code from Basic info, and try the Sign-in Diagnostic (Sign-in Diagnostic (opens in a new tab)). Then see When to call Microsoft.

Related on EntraReady: Common sign-in error codes, AADSTS53003 (blocked by Conditional Access), AADSTS50126 (invalid username or password), and the Conditional Access testing checklist.

Sources (Microsoft Learn): What are Microsoft Entra sign-in logs? (opens in a new tab), Sign-in log activity details (opens in a new tab), Non-interactive user sign-ins (opens in a new tab), Microsoft Entra data retention (opens in a new tab), Download logs (opens in a new tab), Sign-in Diagnostic (opens in a new tab).

← All Guides

Is this still accurate?

Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.

Reports go to the EntraReady inbox. Please don’t include passwords or tenant secrets.