Reading width
Wide uses the full column for everything, text, diagrams, code, and exercises. Narrow keeps the standard reading width.
Text size
Scales the body text. Headings and code blocks keep their size.
In this section
0.1 Reading a Record
Introduction
Every investigation in this course comes down to reading records. A record is what a system wrote down when something happened: one row, in the system's own terms, at the time. Reading one well means knowing what each field says, what it can't say, and how it connects to other records.
This lesson reads one record slowly: a single sign-in to a Microsoft 365 account, first as the admin portal shows it and then as the raw data behind the portal. It's the simplest kind of record you'll meet, and the habits you build on it carry to every log, event and packet in the course. Module 1 uses records like this one from its first lesson, so this is the place to get comfortable with them.
You don't need any tools installed for this lesson. Everything is shown on the page, and the record itself is printed in full so you can read it alongside the explanation. Later lessons in this module bring in Event Viewer, Wireshark and a terminal, each on records you could open yourself.
A Record as the Portal Shows It
The sign-in details pane, and what it does to the data before you see itThe records here belong to a small organization, harborline.example, generated for this course. One user, Maya Ortiz, signed in on Monday 12 October. Microsoft's Entra admin center shows each sign-in in a details pane, split into tabs. Here's the Basic info tab for her first sign-in of the morning:
Activity Details: Sign-ins
×The sign-in as the admin center shows it to a viewer in the UK; the record is generated for this course
Microsoft's documentation describes the tabs. Basic info carries most of the details, Location carries the address and where it was placed, and Device info carries the browser and operating system. Further tabs record the authentication steps and the Conditional Access policies that applied.
Look at the Date. It reads 10/12/2026, 9:47:12 AM. That's not the time stored in the record. Microsoft's documentation says the pane converts the time into the time zone of the person viewing the admin center, not the person who signed in. A viewer in the UK on that date sees British Summer Time, one hour ahead of UTC. A colleague in New York looking at the same sign-in sees a different time again.
That's the first habit: a portal is a view, and views change data to make it easier to read. Times are converted, codes are turned into words, long values are cut short and some fields are hidden on other tabs. The view is useful for reading. When you write the time into a case, take it from the data, not the screen, or say which time zone the screen was showing.
Portals are still where most analysts read records, and this course uses them throughout. The point is to read them knowing what they've done, not to avoid them.
Two more conversions are worth knowing about. Long values, such as user agent strings and device details, are often shortened in a list view and shown in full only when you open the record. And some portals hide fields that are empty, so a field's absence on screen doesn't always mean the record lacks it. If a case turns on a value, open the record and read the value whole.
The pane also tells you where to go next. Its tabs map to groups of fields in the data: the authentication steps, the device, the policies. When you're unsure where a value lives in an export, the tab that showed it is a good clue to the field's name.
The Same Record as Data
The exported JSON, and what the portal changed or left outThe record behind the pane: every field is a name and a value, and the names are what queries use
Behind the pane is the record itself, and the figure lays the start of it out. Exported from the sign-in log, or read from a log workspace, it's a set of named fields and values: each callout names what one value answers, and the line beneath names what no field in it can. Here are the fields this lesson uses, from the same sign-in:
{
"TimeGenerated": "2026-10-12T08:47:12.418Z",
"Id": "b7e2c4a1-5d3f-4e8a-9c61-2f0d7a8b3e54",
"CorrelationId": "3a9d6f21-8c4e-4b7a-a1d5-6e2f0c9b8a47",
"UserPrincipalName": "maya.ortiz@harborline.example",
"UserId": "6f1c2a90-3b7e-4d21-9a5c-0e8b4f7d2c13",
"AppDisplayName": "Office 365 Exchange Online",
"IPAddress": "203.0.113.140",
"ClientAppUsed": "Browser",
"LocationDetails": {
"countryOrRegion": "GB",
"state": "England",
"city": "Manchester"
},
"ResultType": "0",
"ResultDescription": "Success",
"AuthenticationRequirement": "multiFactorAuthentication",
"AuthenticationMethodsUsed": "PhoneAppNotification",
"ConditionalAccessStatus": "success"
}
The time is 2026-10-12T08:47:12.418Z. The Z at the end means UTC, so this is the moment the pane showed as 10/12/2026, 9:47:12 AM. The result is a code, 0, where the pane said Success. The location is a nested set of fields with city, state and country, where the pane showed none of it on this tab. And there are identifiers the pane didn't put first: an Id for this sign-in alone and a UserId for the account.
The raw record is what you'll query, export, hash and cite. It's less friendly to read, but nothing in it has been converted for you, and every field is there at once. When the portal and the data seem to disagree, the data is the record, and the portal is a rendering of it.
Notice also what's absent. There's no field saying who Maya is, what her job is, or whether she meant to sign in. A sign-in log records sign-ins. Everything else about the person comes from other records, such as the identity directory, or from asking people.
Field names differ between systems, and even between ways of exporting the same log. This course names fields as the record you're looking at names them, and points out where another system calls the same thing something else. Lesson 0.2 is about exactly that.
There's a practical reason to get used to raw records early. Exports are what you'll hand to a colleague, attach to a case and hash as evidence, and they're what a script or a query reads. A portal view can't be attached to a case in a form anyone else can check. A record can. Most of this course's lessons show both, the view and the data, so you learn to move between them.
When you read a raw record, read every field once, even the ones that seem irrelevant. Fields you skip on the first record of a case are the ones you'll wish you'd noticed on the fifth. An empty DeviceDetail, for example, says the sign-in came from a device the tenant doesn't manage, which may matter later and is easy to miss now.
Five Questions Every Record Answers
Who, what, when, where from, and how it endedMost security records answer the same five questions, in different words. Learning to find those five fields quickly is how you read an unfamiliar log without a manual: identify who acted, what they did, when, from where, and with what result.
The record's answers to the five questions, and the two that are weaker than they look
For this sign-in, who is the account maya.ortiz@harborline.example. What is a sign-in to Office 365 Exchange Online. When is 2026-10-12T08:47:12.418Z, in UTC. Where from is the address 203.0.113.140, which the record places in Manchester. And how it ended is result 0, a success, after the multiFactorAuthentication requirement was met with PhoneAppNotification.
Two of those answers are stronger than the others. The time and the result are the service's own account of its own work, and there's little reason to doubt them. The account name is a fact about the account. The address is a fact about what the service saw. But the city is an estimate, and the person behind the account is an inference. The callouts mark the difference, and the next section explains it.
The same five questions work on records you've never seen. A Windows logon event, a firewall line, a mail delivery record and an audit entry from a cloud service all answer who, what, when, where from and with what result. Their field names differ. Their structure doesn't. When you meet a new log, find those five first, and the rest of the fields become details around them.
Write the five answers down in that order when you first open a record in a case. It takes a line, and it's the line every later note will refer back to.
It also helps to notice which questions a record type can't answer at all. A firewall line answers who only as an address. A mail delivery record answers where from as a sending server, not a person. A process event answers who as a local account on one machine. Knowing which of the five each record answers weakly tells you which other record to bring in.
Practice the five on every new record type you meet in this course. By Module 3 you'll do it without thinking, and the first minute with an unfamiliar log will be spent understanding it, not searching it.
What the Record Cannot Tell You
An account is not a person, and an address is not a placeReading a record well means knowing its limits as precisely as its contents. A sign-in record is good evidence for some claims and weak or no evidence for others.
Four things the sign-in record shows, and four it cannot
Location is the clearest example. Microsoft is direct about it: there's no definitive link between an IP address and where the computer using it is, and mobile networks and VPNs hand out addresses from pools that can be far from the device. Turning an address into a city is, in Microsoft's words, a best effort. So "the record places the address in Manchester" is a fact. "She was in Manchester" is an inference.
The person is the other one. The record names an account. It shows the account's password and second factor were used. It doesn't show who used them. Most of the time the account holder is the obvious explanation, and the right one. In the cases that matter most to a security team, it's exactly the question.
Intent is never in a record. Nothing here says why the sign-in happened, and no log will. Investigations reach intent, when they reach it at all, by putting many records together and asking people.
Time is the field with fewest limits, and it still has one: it records when the service processed the sign-in, by the service's clock. That's precise for ordering events within one service. Comparing it with another system's clock is where small differences appear, which lesson 0.2 shows on real records.
Device details have limits of the same kind. The user agent string names a browser and an operating system, but the client sends it, and it can say anything. A managed device's identifier is stronger, because the tenant issued it. This record's device fields are empty, which tells you only that the device wasn't one the tenant manages or registered, not which device it was.
None of this makes the record weak. It makes it precise. A finding that says what the record shows, and stops there, can be relied on. Module 1 builds its whole method on that distinction: facts tied to records, and inferences labeled as such with how sure you are.
A Record That Failed
Error codes, failure reasons, and an ordinary explanationFailed records are as common as successful ones, and usually as ordinary. Earlier the same morning there's a failed attempt for the same account:
Activity Details: Sign-ins
×An earlier failed attempt for the same account, from a different address
The error code 50126 and its reason say the password was wrong. Microsoft's reference for sign-in error codes lists each code with its meaning, and it's the place to look up any code you don't recognize. The raw record shows what else differs:
{
"TimeGenerated": "2026-10-12T07:58:40.102Z",
"UserPrincipalName": "maya.ortiz@harborline.example",
"IPAddress": "192.0.2.77",
"ResultType": "50126",
"AuthenticationRequirement": "singleFactorAuthentication",
"ConditionalAccessStatus": "success"
}
It came from 192.0.2.77, a different address from the successful sign-in, at 07:58:40 UTC, about fifty minutes earlier. No second factor was asked for, because the first factor failed. On its own, one failed password from a different address, followed by a normal sign-in later, has an ordinary explanation: someone mistyped a password at home before work.
It has other explanations too, and a single record can't choose between them. That's the point to take into Module 1. A record tells you what happened at one moment, and the explanation comes from reading it alongside others, looking for the ones that would tell the explanations apart.
For this pair, the records that would help are easy to name. Other sign-ins from 192.0.2.77 would show whether the address is one the account uses regularly. Sign-ins to other accounts from that address would show whether it was trying more than one. And the account holder could simply be asked. None of those is in this lesson's records, which is the normal situation at the start of a case: you know which records you need before you have them.
Error codes deserve the same care as success codes. They're precise about what failed, and silent about why. A wrong password is recorded the same way whether a person mistyped it or a program guessed it, so the code narrows the question without answering it.
Microsoft's reference for sign-in error codes lists each code and its meaning. Keep it bookmarked. Codes you'll meet constantly, such as 50126 for a wrong password and 50074 when a second factor is required, are worth learning by heart, and the rest are a quick lookup away.
Identifiers That Join Records
Which value to use when you follow the same thing into another recordA record rarely answers a question alone. You'll join it to others: the same account's other sign-ins, its mail, its files, the device it used. Joining needs an identifier the records share, and identifiers aren't all equally reliable.
Four identifiers on one record, and how far each can be trusted to join
The UserId, 6f1c2a90-3b7e-4d21-9a5c-0e8b4f7d2c13, is the account's object ID. It's assigned once and doesn't change, so it's the safest way to follow an account across records that carry it. The UserPrincipalName is the sign-in name. It's readable and appears in almost every Microsoft record, but it can be renamed, so two names can be one account at different times.
The CorrelationId groups related attempts. Microsoft says it groups the sign-ins of one session, and that because the value comes from what the client sends, Entra ID can't guarantee it's accurate. It's useful for seeing the steps of one sign-in together, and not something to treat as proof that two records belong together.
The Id identifies this one sign-in event. It's what you'd cite as evidence, because it points at exactly one record and nothing else.
Other records use other identifiers for the same account. Windows events name a domain account as DOMAIN\user and by a security identifier. Mail records name a mailbox by address. Audit records may use the sign-in name or an internal key. The object ID is the thread that ties most Microsoft cloud records together, and it's worth learning to look for it first.
Choosing the identifier is a small decision that changes results. Join on a name that was renamed last month, and half the account's history disappears. Join on a correlation value a client set carelessly, and unrelated attempts look like one session. Module 2 spends much of its time on this.
A useful habit is to note the identifiers of any record you rely on as soon as you find it: the event's own Id for citing it, and the account's object ID for following it. Names are for reading. IDs are for joining and citing. Writing both into your notes takes seconds and saves real confusion later, when someone asks which record you meant.
When an Assistant Reads the Record
Fluent, mostly right, and confident about the two things the record cannot showAssistants are good at turning a record into a sentence, and it's a useful way to read an unfamiliar log. Here's one asked to explain this sign-in.
Explain this sign-in record in plain English: {"TimeGenerated": "2026-10-12T08:47:12.418Z", "UserPrincipalName": "maya.ortiz@harborline.example", "IPAddress": "203.0.113.140", "LocationDetails": "{\"countryOrRegion\":\"GB\",\"state\":\"England\",\"city\":\"Manchester\"}", "ResultType": "0"}
Maya Ortiz signed in successfully at 8:47 in the morning from Manchester, England, at IP address 203.0.113.140. The sign-in succeeded (result code 0). She was working from the Manchester area at the time.
Check before you use it
Three readings go beyond the record. The time is UTC, which on this date is 09:47 in the UK, not 8:47 local. "Maya Ortiz signed in" is the account, not the person. And "she was working from the Manchester area" turns a best-effort address lookup into a fact about where she was.
An illustrative exchange, written for this lesson: an assistant you ask will word it differently.
Most of it is right. The address, the result and the account are read correctly. The errors are the ones this lesson has been about. The time is UTC and the assistant presented it as local. "Maya Ortiz signed in" quietly turns an account into a person. And "she was working from the Manchester area" turns an estimate into a fact about where she was.
Those errors are typical because they're what a fluent summary of a record sounds like. People talk about sign-ins as things people did, in places, at times in their own day. Records don't work that way, and an investigation that forgets it ends up with confident findings resting on nothing.
So when an assistant reads a record for you, check its sentence against the fields. Does each claim match a field? Is the time in the zone it says? Has an account become a person, or an address become a place? Ask it to name the field behind each claim, and it'll usually catch the problem itself.
An assistant is also a reasonable way to learn an unfamiliar record type, as long as you check it. Asked what each field in a record means, it'll usually give a sensible answer, and the answer tells you which fields to look up in the vendor's documentation. Treat its explanation as a guide to the documentation, not a replacement for it, because the details that decide a case, such as which time zone a field uses or whether a value is reported by the client, are exactly where general explanations are vague.
The same applies in reverse. When you write about a record yourself, write the way the record speaks: the account signed in, the address was placed in a city, the time was a UTC time. It sounds a little stiff. It's also accurate, and it's the register this course asks for in every finding.
Practice
Practice
Read a sign-in record field by field the sign-in recordPractice on one record until the five questions come without thinking.
Use the record from section 2 if you have nothing else. If your organization lets you see your own sign-in history, use one of your own sign-ins as well, and compare what the page shows you with what the export holds.
- Open the record. Use the JSON in section 2, or your own sign-in history if your organization lets you see it.
- Answer the five questions. Who, what, when, where from and how it ended, each from one named field.
- Mark the weak ones. For each answer, say whether the field shows it directly or only suggests it, as section 4 does.
- Convert the time. Write the time in UTC and in your own time zone, and say which one the portal showed you.
Keep the result. Lesson 0.2 follows a single action across three different systems, and the same five questions are how you'll find it in each.