Microsoft 365Security9 min read

Impossible travel on a standard Microsoft 365 licence

Impossible travel detection compares where and when an account was active, and flags movement no person could make. The data it needs is in the audit log on a standard Microsoft 365 licence. This post explains how the calculation works, the four reasons it usually produces false alarms, and how to build a version that doesn't.

Published by 1Security TeamAugust 11, 2026
Impossible travel detection on standard Microsoft 365 licences

Impossible travel is one of the few detections that non-technical people understand straight away. An account is active in two places, and there was not enough time to travel between them. So at least one of those two events did not come from the real user.

Many people know it as a feature of the premium licence tiers, where a risk engine decides that a sign-in was atypical and gives you a score.

You can also build it yourself on a standard licence. The calculation is simple and the events are already in your audit logs. The hard part is avoiding false alarms. There are four common causes, and a detection that gets even one of them wrong produces so many false alarms that teams end up switching it off. This post explains the calculation, the four causes, and how to build a version that works.

What the calculation actually is

Take two events from the same identity. Each has a place and a time. Compute the distance between the places, divide by the elapsed time, and you have an implied speed.

If that speed exceeds what a human could plausibly achieve, including a flight, a connection and the trip to and from the airport, then at least one of those two events wasn't produced by that human.

That's the whole method. It needs no model, no training and no scoring engine, and a junior analyst can implement it in an afternoon.

The method is simple, but most implementations still produce a lot of false alarms. The next four sections explain why.

Failure one: the platform's own traffic

This is the most common cause. It ruins more travel detections than the other three combined.

A large share of Microsoft 365 audit events don't carry the user's address. They carry the address of the Microsoft server that performed the operation: server-side mailbox actions, background SharePoint work, Copilot interactions, compliance machinery, anything acting with application permissions.

Feed those into a travel calculation and you get a transatlantic flight in four minutes, every day, for every user with a mailbox rule or a Copilot habit. The arithmetic is correct, but the result is useless.

Ignoring all datacenter traffic is not the answer, because that would also hide real attacks. Stolen credentials are increasingly used from rented infrastructure. The fix is narrower: never treat Microsoft's own infrastructure as a place the user travelled to. Those events stay in your logs as evidence of what happened. They are just left out of the travel calculation, because they show where a service ran and not where a person was.

A travel detection that doesn't make this distinction will mostly report the locations of Microsoft's datacenters.

Failure two: the address is not the place

The second cause is less obvious. Two consecutive events from the same person, both entirely legitimate, can resolve to addresses hundreds of kilometres apart. Mobile carriers centralise their egress. A corporate VPN terminates in another country. A home ISP rotates the address into a different pool.

If your unit of measurement is the address, you're measuring the network's topology rather than the person's movement.

Travel has to be computed between stable places, meaning a country, a city and the network that owns the connection, and it has to know when the network type makes the coordinates meaningless. A commercial VPN exit in Amsterdam tells you where the VPN is, not where the user is. Treat it as a waypoint and you get a flight to Amsterdam and back every time someone opens their laptop on a train.

Failure three: no sense of normal

A common example: a salesperson flies to a conference and signs in from the hotel. Impossible travel fires, correctly and technically, because they were in Warsaw eight hours ago and eight hours isn't enough for the route the calculation assumed.

That's a false positive, and looking at the two events alone you can't avoid it. Context is what lets you tell it apart from a real attack. This account has been seen in nine countries over the past year, and its travel pattern is a salesperson's. The finance clerk who has never been observed outside one city, and who suddenly appears in a country they've never been to, at three in the morning, over a hosting provider, is a very different case, even though the calculated speed gives the same verdict for both.

Without a baseline, travel detection can only check speed. With a history for each identity, it gives you something worth investigating. For that you need a travel timeline for each identity: everywhere it has been seen active, how often, and when it was first and last seen there.

Failure four: trusting geo-IP too much

Geo-IP resolution is approximate. City-level accuracy is decent in dense markets and poor elsewhere. Two addresses in the same metropolitan area routinely resolve to points thirty kilometres apart, which at a five-minute interval gives you an implied speed of several hundred kilometres per hour.

An implementation that reports "impossible" in that case is creating false positives from its own measurement error.

The solution is to accept that the data is imprecise and set minimums accordingly. Places close enough together to be the same metropolitan area count as the same place. Legs below a meaningful distance threshold don't produce verdicts. And the verdict language should carry its own uncertainty, so plausible, questionable and impossible rather than a binary the underlying data can't support.

What a good travel view looks like

Once those four failures are handled, the output is no longer a stream of alerts. It is a readable record of where each identity has been.

The useful shape is a sequence of visits and legs.

  • A visit is a stay. A place, when the identity first and last appeared there, and how much activity happened.
  • A leg is the movement between two consecutive visits, carrying the distance, the elapsed time, the implied speed and a verdict.

Presented that way, an investigation is easy to read. This account sat in Warsaw for three weeks, then produced forty minutes of activity from a hosting provider in another country, then went back to Warsaw. You don't need a risk score to understand that.

The same view answers questions travel detection doesn't usually get asked. Which of our people are genuinely mobile and which have a fixed footprint? Which devices have started appearing in places they never used to? When a machine rather than a person starts showing travel, that's often more interesting than the user, because most devices stay in one place.

A practical build order

If you're assembling this yourself the order matters, because each step is worthless without the one before it.

  1. Resolve places, not addresses. Country, city and network owner, with dynamic addresses collapsing into one identity per place.
  2. Classify the network. Standard, VPN, Tor, datacenter, platform. You need this to know which coordinates mean anything.
  3. Exclude platform infrastructure from waypoints. Keep the events, deny them a place on the timeline.
  4. Build per-identity timelines. Visits before legs. You can't judge a journey without knowing the itinerary.
  5. Compute legs, with a minimum distance and verdicts that show uncertainty. Only alert after this step.
  6. Pair it with the other two signals. Travel together with an unfamiliar device and a spike in activity is an incident. Travel alone only needs a closer look.

Most of the work is in steps one to four. Step five, which is what most people think of as "impossible travel," takes an afternoon.

What about licensing

Microsoft's own atypical-travel detection lives in the premium identity tiers, and if you have them, use them. They see sign-in telemetry from across Microsoft's estate that nobody else has.

The raw material for travel detection on your own tenant is the audit log, which is available on standard licences. It contains the addresses and the timestamps. A detection you build yourself has one extra advantage: you can see how each verdict was reached and tune it.

If you have the premium tier, run both. Microsoft's detection sees more, and yours shows how it reached each verdict. If you don't have the premium tier, you can still have travel detection.

How 1Security does it

Travel builds on the location layer described earlier. Every action resolves to a country, city and network owner, dynamic addresses collapse into stable places, and Microsoft's own infrastructure gets recognised and labelled rather than mistaken for a user.

From there, each user and each device gets a travel view: visits and legs, with distance, elapsed time, implied speed and a verdict per leg, drawn on a map inside the resource's drawer. Infrastructure egress never becomes a waypoint. Where Microsoft supplies the user's real country alongside a relayed address, that signal gets used instead of the relay's coordinates.

Travel sits next to the other two halves of the same story. The device layer shows whether the machine behind a suspicious leg was ever enrolled, or ever authenticated at all. The anomaly layer shows whether the account's activity volume broke its own baseline that day. Together, these three signals on one timeline are what it takes to catch an attack that looks like normal employee activity.

All of it runs on a standard Microsoft 365 licence, with enrichment performed locally rather than through a third-party lookup service.

Frequently asked questions

What speed threshold should I use? Higher than you think. Commercial aviation plus airport time plus a connection means a real traveller can average a surprising amount over a long interval. The value of the detection sits in the clearly impossible cases, not the marginal ones, so set the bar high enough that a verdict of "impossible" is worth reading every time it appears.

Will this catch a nearby attacker? No. An attacker operating from the same city as the victim produces no travel signal at all. Travel is one input among several, which is exactly why it belongs next to device and volume signals rather than on its own.

What about users who genuinely travel constantly? Their baseline shows it, which is why you keep a history for each identity. A footprint across nine countries reads differently from a first-ever appearance abroad, and only a timeline can tell you which one you're looking at.

Do VPNs break this? They break simple versions of it. A commercial VPN exit is the VPN's location, not the user's, which is why network classification has to happen before travel is computed rather than after.


Microsoft 365Security

Latest Blog Posts

Discover more insights about Microsoft 365 security, governance, and compliance.

View all posts

Take control of Microsoft 365 access today

Stop guessing who has access to your sensitive data. With 1Security, you gain the visibility, automations, and confidence needed to protect your Microsoft 365 environment.