Entra Sign-in Log and Login Anomaly Analyzer

Turn a sign-in log export into answers: who failed and why, who signed in from two continents in an hour, who still uses legacy protocols and who lacks MFA.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Export sign-ins

    Download the sign-in log as JSON or CSV from the Entra admin center or your identity provider.

  2. 2
    Open the file

    Load one or more exports; check the Columns tab if fields were not recognised.

  3. 3
    Review findings

    Start with high-severity rules such as password spray and impossible travel.

  4. 4
    Rank users

    Use the per-user risk table and click a user to focus all views.

  5. 5
    Tune detection

    Set travel speed, spray threshold, rare-country share and trusted countries.

  6. 6
    Export

    Download findings and the user risk table as CSV.

About this tool

Sign-in logs are where account takeover shows first: a run of wrong passwords against many accounts from one address, a successful login from a country the user has never visited an hour after a login at home, or an old mail client that signs in with only a password. Microsoft Entra ID, formerly Azure AD, records all of this, but the portal's views are built for single lookups, and the deeper risk reports need premium licences. This analyzer works with the JSON or CSV download from the Entra admin center, with Microsoft Graph signIns output, and through a column mapper with exports from other identity providers. It normalises user, time, application, client app, IP, city, country, coordinates, error code, authentication requirement and risk level, then runs detections for impossible travel, unfamiliar countries, legacy authentication, missing MFA, password spray and provider-reported risk. A per-user table adds the results into a score so you know whom to look at first.

Detections

Impossible travel compares consecutive successful sign-ins per user: when both have coordinates and the implied speed exceeds 900 km/h over more than 500 km, it is high severity; when only countries are known and they change within four hours, it is medium. Unfamiliar location flags countries that account for no more than ten percent of a user's sign-ins, unless the country is on your trusted list. Legacy authentication matches client apps such as IMAP4, POP3, Authenticated SMTP, Exchange ActiveSync and Other clients, which cannot do MFA. MFA gap lists successful interactive sign-ins that satisfied only single-factor authentication. Password spray groups real failures, not MFA interrupts, by IP and fires when one address fails against five or more accounts. Sign-ins the provider itself rated high risk are listed too. Every threshold is adjustable.

Failures explained

Error codes are translated into plain reasons, for example 50126 invalid user name or password, 50053 account locked or malicious IP, 53003 blocked by Conditional Access and 500121 MFA denied. Interrupt codes such as 50074 and 50140, which are part of a normal MFA or keep-me-signed-in prompt, are not counted as attacks.

Investigating a user

Click any finding or user to focus every view on that person: the timeline, the countries chart and the sign-in table. The risk score adds ten points per high, four per medium and one per low finding, plus up to ten for failed sign-ins. Export findings and the user table as CSV.

Limits

IP geolocation in the logs comes from Microsoft and can be wrong for VPNs, mobile networks and cloud proxies, which cause most false impossible-travel alerts. Without coordinates only country changes are detected. Non-interactive sign-ins are included when your export contains them. This tool does not replace Entra ID Protection or Conditional Access; it helps you review exported data. Nothing is uploaded.

Worked example

An IT lead downloads seven days of interactive sign-ins as JSON, 9,412 records for 186 users. The analyzer reports a 91.8 percent success rate and 31 findings. High: a password spray from 45.9.9.9 with 412 failures (50126) across 97 accounts; impossible travel for [email protected], 7,994 km from Dhaka to London in one hour; and 6 successful IMAP4 sign-ins for a shared mailbox. Medium: 14 users with single-factor interactive sign-ins from outside the office. The user table puts [email protected] first with a score of 27, so her sessions are revoked and her password reset, and a Conditional Access policy blocking legacy authentication is scheduled.

Quick facts

Frequently asked questions

How do I export sign-in logs from Entra?

In the Entra admin center open Monitoring and health, Sign-in logs, set the date range and filters, then choose Download and pick JSON or CSV. JSON keeps coordinates and nested fields, so prefer it.

Can I use logs from Okta or Google Workspace?

Yes, if you have a CSV or JSON export. Open the Columns tab and map user, time, IP, country, status and the other fields to your file's column names.

Why are MFA prompts not counted as failures?

Codes like 50074 and 50140 appear every time a user is asked for a second factor or to stay signed in. They are interruptions, not attacks, so they are excluded from spray detection.

What counts as legacy authentication?

Protocols that send a password directly and cannot do modern MFA: POP, IMAP, authenticated SMTP, Exchange ActiveSync with basic auth, and clients listed as Other clients. Blocking them closes a common spray target.

How accurate is impossible travel?

It is only as good as the IP location. VPN exits, mobile carriers and cloud services cause false alarms, so check the IP and device before acting. Add trusted countries to reduce noise.

Is the data uploaded?

No. The export is parsed in your browser and is gone when you close the tab. Only your detection settings are saved on this device.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages