Do You Know What Your Microsoft 365 Did Last Night?
For owners, partners and board members
Five questions to ask about your Microsoft 365, and what a good answer to each one sounds like.
Your office closed at five. Your Microsoft 365 did not. While the lights were off, it was answering the door.
Here is one week this fall at an Ontario organization we manage. Microsoft locked accounts more than 300 times to stop guessed passwords, and the attempts came from close to 300 internet addresses in about 40 countries. None of them got in, and no one in the office was locked out or noticed anything. All of it was written down in the sign-in log, a record every Microsoft 365 organization has and most offices never open.
Five questions to ask about your Microsoft 365
- Who reads our sign-in log, and how often?
- How far back does our sign-in log go, and is our review more frequent than that?
- Which accounts can sign in without a second step?
- Are the older sign-in methods switched off?
- If an account were locked fifty times tonight, who would be told, and when?
The rest of this article gives the reason behind each question and what a good answer sounds like.
Question 1: Who reads our sign-in log, and how often?
Because this is what was in one, in an ordinary week.
The pattern has a name: password spraying. Microsoft describes it this way: most of these attacks "submit only a few of the known weakest passwords against each of the accounts in an enterprise" (Microsoft Learn: password protection). A few guesses per account, across many accounts, from many addresses, so that no single address stands out.
That is what this log showed. More than 300 lockouts in seven days. Close to 300 different addresses. About 40 countries. When we looked back a month, the count was more than a thousand, at a steady rate week after week. This was not an event with a start and an end. It was the weather.
Not one of those attempts produced a successful sign-in.
And the staff? They worked a normal week. No lockout came from the organization's own offices or from a place where a staff member normally signs in.
Why nobody felt a thing
Two things did the work.
Microsoft's smart lockout. It is switched on for every Microsoft 365 organization, with nothing to buy. By default it locks an account after 10 failed attempts, for one minute at first and longer after that. It also tells places apart: in Microsoft's words, "both unfamiliar and familiar locations have separate lockout counters", so that "attackers get locked out while your users continue to access their accounts" (Microsoft Learn: smart lockout). Microsoft adds that this is not a guarantee. A person signing in from a new place can still meet a locked account for a minute.
Passwords that were not on the list. A spray tries the passwords most people choose. That week, none of the guesses was right. You can also take your own name off the guess list: Microsoft already refuses a global list of weak passwords for everyone, and with Microsoft Entra ID P1 or P2 an organization can add its own terms, such as its name, products and locations (Microsoft Learn: password protection).
A quiet result is not the same as nothing to do. Every one of these attempts is in the sign-in log. In the Microsoft Entra admin center it is under Entra ID, then Monitoring & health, then Sign-in logs (Microsoft Learn: sign-in logs).
It is reasonable to assume your Microsoft 365 was tried last night as well. The only way to know is to look.
A good answer: a name and a schedule, not "it is monitored".
Question 2: How far back does our sign-in log go, and is our review more frequent than that?
The record is there. It does not last. This is the point of the article, so here it is on its own line.
Seven days. That is how long the sign-in log is kept on the free edition of Microsoft Entra ID. With Entra ID P1 or P2 it is 30 days (Microsoft Learn: data retention).
Which one you have depends on your licence. Microsoft describes Entra ID Free as "included with Microsoft cloud subscriptions such as Microsoft Azure, Microsoft 365, and others", and says "Entra ID P1 is also included in Microsoft 365 Business Premium for small to medium businesses" (Microsoft Learn: licensing).
Business Premium is the only Microsoft 365 Business plan that page names as including Entra ID P1. Business Basic and Business Standard are not named on it. Microsoft notes that the page is not a complete list, but an office on one of those two plans, with no Entra ID P1 added, should expect seven days. Whoever administers your Microsoft 365 can confirm which edition you have.
So an office can hold a good Microsoft 365 licence, one that does everything the staff need, and still have seven days of sign-in history, because its plan does not include P1.
Know your log depth.
- Your review has to be more frequent than your log is long. Seven days of log needs a look at least once a week. A monthly review reads one week and misses three. A review every two weeks misses one in two.
- An upgrade does not bring back what has expired. Microsoft: "Log retention changes aren't retroactive." After a move from Free to P1 or P2, only the last seven days are there. Depth has to be in place before the day you need it.
That day is the one when someone suspects an account was entered. The first questions are when it started and what was reached, and the log can only answer as far back as it goes.
There are three ways to get more depth:
- Microsoft 365 Business Premium, which includes Entra ID P1.
- Entra ID P1 added to the plan you have. Microsoft sells it as a standalone product.
- Archiving the logs. Sign-in and audit data can be kept beyond the default period "by routing it to an Azure storage account using Azure Monitor" (Microsoft Learn: data retention). This needs an Azure subscription and a storage account.
Which of these fits, if any, depends on the office: its size, what it holds, and how often someone reads the log now.
A good answer: seven days or 30, whether anything keeps it longer, and a review that comes round more often than the log runs out.
Question 3: Which accounts can sign in without a second step?
Smart lockout and good passwords held that week. The second sign-in step, a code or a prompt on a phone, is the layer for the night a guess is right. Microsoft states that more than 99.9% of common identity-related attacks are stopped by multifactor authentication together with blocking legacy authentication (Microsoft Learn: security defaults).
Ask about two kinds of account in particular.
Shared mailboxes are accounts too. Every shared mailbox has a user account behind it. Microsoft's instruction is to "always block sign-in for the shared mailbox account and keep it blocked"; people open the mailbox from their own account (Microsoft Learn: shared mailboxes).
Accounts used by devices and software need the same attention, because nobody is sitting at them to notice a problem.
A good answer: the list itself, including shared mailboxes and accounts used by devices and software, and who watches each one.
Question 4: Are the older sign-in methods switched off?
Older sign-in methods are where the guessing lands. Microsoft's analysis is that more than 99 percent of password spray attacks use legacy authentication protocols, the older methods that cannot ask for a second step (Microsoft Learn: block legacy authentication).
One of them, the method many office devices and older mail programs use to send email, is scheduled to be switched off by default for existing organizations at the end of December 2026 (Microsoft Exchange team). Know which of your devices still depend on it before that date.
A good answer: yes, or a short list of the devices that still need them and what happens to those devices at the end of December.
Question 5: If an account were locked fifty times tonight, who would be told, and when?
The attempts do not stop because a rule is in place. Rules that limit sign-ins by country or by app are enforced "after first-factor authentication is completed" (Microsoft Learn: Conditional Access). The password is checked first. Such a rule makes a guessed password useless, which is the part that protects your data, but the attempts still arrive and still count. So somebody has to be the one who is told.
What being told looks like
Reading the log is one job. Putting what it shows in front of the person who decides is another. Here is a sample of the sign-in and access report we prepare for our managed clients.
The sample is fictional. The company, Bramblewick Supply Co., does not exist, and every name, number and date in it is invented. It is not the organization described above, and its figures are not that organization's figures.
Download the sample report (PDF, 9 pages)
A good answer: a name and a time, and a page like this one to show for it.
If the five answers come back
If the five answers come back quickly and in writing, you are in good hands. If they do not, you have found your next IT conversation.
This article is general information, not advice for your particular setup.
Next step
Our Free IT Health Check is where we start. Book a meeting and we will go through the five questions with you.