Frontrow Technology
← All insights & guides
Guide

Cyber security

Microsoft 365 Account Compromised? The First 60 Minutes, Step by Step

The first-response runbook for a compromised Microsoft 365 account, in Microsoft's own order, including the step most businesses miss and the Australian reporting obligations that run in parallel. Checked September 2026.

Graeme Lodge · Last reviewed 16 September 2026 · 12 min read

Disable the account first, then revoke its active sessions. Resetting the password is not step one and, on its own, does not remove an attacker who already holds a valid session token. That single point is the difference between an incident that ends in an hour and one that comes back on Thursday.

This runbook follows the order Microsoft publishes for responding to a compromised Microsoft 365 account, with the Australian reporting obligations that run alongside it. It is written for the person who has the problem right now: an internal IT lead or a business owner with Global Administrator access. If nothing has happened yet, the checklist and phishing guides in this series are the better place to start.

How to tell an account is compromised

Microsoft lists the signs that a mailbox has been taken over. Any one of them is enough to act on.

  • The mailbox is suddenly blocked from sending email, which usually means Microsoft detected outbound spam before you did.
  • Inbox rules nobody created: rules that forward to an unknown external address, or that move messages into Notes, Junk Email or RSS Subscriptions so the real owner never sees the replies.
  • Suspicious messages in Sent Items or Deleted Items, or a Sent Items folder that has been emptied.
  • Recently added external forwarding on the mailbox itself.
  • Frequent password changes or unexplained account lockouts.
  • Changes to the user's entry in the global address list, such as a changed display name or phone number.
  • An email signature that is not theirs, or a colleague asking about a message the user never sent.

The rules that hide replies are the tell that matters most. A criminal reading invoice traffic wants the conversation to continue without the real owner noticing, and an inbox rule filing everything from the finance address into RSS Subscriptions does exactly that.

Step 1: Disable the account

Microsoft's stated preference is to disable the affected account for the duration of the investigation rather than to reset its password. Disabling stops new sign-ins immediately and keeps the mailbox intact for investigation. In the Microsoft 365 admin center this is Users, Active users, select the user, then Block sign-in.

If the business cannot tolerate the account being disabled, reset the password instead, and observe three rules Microsoft is explicit about. Do not send the new password to the user by email, because the attacker may still be reading that mailbox. Do not reuse a recent password even if the history policy allows it. If the identity is synchronised from on-premises Active Directory, reset it there and reset it twice, which mitigates pass-the-hash. For a federated identity the password change has to happen in the on-premises environment.

Step 2: Revoke the active sessions

This is the step most commonly skipped, and skipping it is why some incidents recur. A password reset invalidates the password. It does not, by itself, immediately invalidate the refresh tokens an attacker already holds, which is what keeps a mailbox open in their client after you think you have closed it. Revoking sessions invalidates those tokens and forces every client to reauthenticate.

In the Microsoft Entra admin center, open the user and choose Revoke sessions. The scripted equivalent uses Microsoft Graph PowerShell and the User.RevokeSessions.All scope, running Revoke-MgUserSignInSession against the user principal name. Do it for every account you suspect, not only the one that reported the problem.

Step 3: Check the registered authentication methods

An attacker who gets in will often register their own multifactor authentication method so they can return after the password changes. A new phone number, a second authenticator app, an unfamiliar security key. This is the persistence mechanism that survives everything in steps one and two if you do not look for it.

In the Microsoft Entra admin center, open the user, then Authentication methods. Remove anything the user does not recognise, and have the user re-register from a known-good device. Check the same list for any other account that shares a manager or a role with the compromised one.

Step 4: Review applications the user has consented to

Illicit consent is the quieter form of persistence. Rather than stealing a password, an attacker persuades the user to grant an application ongoing permission to read their mail or files. The consent survives a password reset, a session revocation and a new authenticator, because it is not a credential at all.

In the Microsoft Entra admin center, review the enterprise applications the user has granted permissions to, and revoke anything unexpected. While you are there, check whether user consent to applications is restricted at the tenant level. In a small business it usually should be, so that granting an application access to company data is an administrator decision rather than a click in a phishing flow.

Step 5: Review the administrative roles on the account

Two questions. What could this account do, and did the attacker add anything? Open Roles and administrators in the Microsoft Entra admin center and check the assignments on the compromised account, then check whether any new administrator assignment appeared anywhere in the tenant during the incident window. An attacker who reaches an account with role-assignment rights will usually create a second way in before doing anything noisy.

If the compromised account held Global Administrator, the scope of the incident is the whole tenant rather than one mailbox, and the honest position is that you are now in an engagement that needs outside help.

Step 6: Find the forwarding and the inbox rules

There are three separate places mail can be diverted from, and checking only one is the usual mistake.

  1. 1Mailbox-level forwarding. In Exchange Online PowerShell, Get-Mailbox for the user and read ForwardingAddress, ForwardingSmtpAddress and DeliverToMailboxAndForward. A non-blank ForwardingSmtpAddress means mail is going to an external recipient right now.
  2. 2Inbox rules, including hidden ones. Get-InboxRule with the -IncludeHidden switch, reading Name, Enabled, RedirectTo, ForwardTo and ForwardAsAttachmentTo. Hidden rules do not appear in Outlook, which is precisely why attackers use them.
  3. 3The Auto forwarded messages report in the Microsoft Defender portal, which lists every mailbox in the tenant currently forwarding externally. Run it for the whole tenant, not just this user. A second name on that list is a second incident you did not know you had.

Record what you find before you remove it. Then set the outbound spam policy's automatic forwarding control explicitly to off rather than leaving it on the ambiguous Automatic default. Once off, a rule that tries to forward externally generates a bounce with code 5.7.520, internal forwarding is unaffected, and genuine business exceptions can be handled per domain through remote domain settings.

Then investigate: what did they see, and what did they do?

Containment is the first hour. The investigation determines whether this was a nuisance or a notifiable data breach, and the difference is usually decided in logs rather than opinions.

  • Microsoft Entra sign-in logs: IP address, location, time and success or failure. You are looking for the first successful sign-in from the attacker so you know when the window opened, and for the same IP or user agent against other accounts.
  • Audit logs in the Microsoft Defender portal: filter from immediately before the first suspicious activity and do not narrow by activity type on the first pass, because you do not yet know what you are looking for.
  • Message trace: what left the mailbox during the window and who received it. Combine with the Sent Items folder, remembering that a careful attacker empties it.
  • SharePoint and OneDrive activity: an account compromise is a file access compromise too. Check what was opened, downloaded or shared externally during the window.

Write down the incident window with a start and end time. Every obligation in the next section is easier to discharge with that one line written down, and much harder without it.

The Australian parallel track

These run at the same time as the technical work, not after it. Assign them to somebody who is not doing the containment.

Who to contact, and when
WhoWhenHow
Your bank and the recipient's bankImmediately, if any payment has been made or redirectedThe bank's fraud line. Recovery odds fall sharply after the first hours.
Australian Signals DirectorateAs early as possible, including when you are unsure whether it is an incidentReportCyber at cyber.gov.au/report, or the 24/7 Australian Cyber Security Hotline on 1300 CYBER1 (1300 292 371).
Your cyber insurerBefore engaging external responders, if you hold a policyThe notification number on the policy. Many policies require prior approval of incident response costs.
OAIC and affected individualsIf the breach is likely to result in serious harmUnder the Notifiable Data Breaches scheme. You have 30 days to assess a suspected eligible breach, and must notify as soon as practicable once satisfied it is one.
Anyone the attacker emailed from the accountOnce containment is doneA short, factual message. Contacts who received a fake invoice need to hear it from you first.

The Notifiable Data Breaches obligation is the one most often missed in a small business, because the instinct is to treat a mailbox takeover as an IT problem. If the mailbox held personal information about customers, staff or patients, and unauthorised access is likely to cause serious harm, the scheme applies regardless of how the access happened. The 30 days is the assessment window, not a grace period before you have to start.

Closing the incident properly

Three things finish it. Re-enable the account with a new password delivered out of band, which means in person, by phone or through a channel the attacker never had. Check whether the mailbox was blocked from sending during the incident and, if so, remove it from the Restricted entities page in the Defender portal, which is the step that gets forgotten and produces a week of mail delivery complaints. Then write down what the entry point was.

That last one determines whether this happens again. If the entry point was a phished password, phishing-resistant multifactor authentication for that role is the fix. If it was legacy authentication, the block policy is the fix. If it was illicit consent, restricting user consent to applications is the fix. Closing an incident without naming the entry point means the same door is still open, and the next attacker will find it faster than the first one did.

Common questions

Frequently asked

What is the first thing to do when a Microsoft 365 account is compromised?
Disable the account, then revoke its active sessions. Microsoft's guidance puts disabling ahead of resetting the password, because disabling stops new sign-ins immediately while preserving the mailbox for investigation. Revoking sessions invalidates the refresh tokens the attacker already holds, which a password reset on its own does not do immediately.
Does resetting the password kick the attacker out of Microsoft 365?
Not reliably on its own. An attacker holding a valid refresh token can keep a mail client connected after the password changes. Revoke the user's sign-in sessions as a separate action, remove any authentication methods they registered, and revoke any application consents they obtained. App passwords created previously also survive a password reset and have to be deleted individually.
How do I find hidden inbox rules in Microsoft 365?
Connect to Exchange Online PowerShell and run Get-InboxRule against the mailbox with the -IncludeHidden switch, reading the Name, Enabled, RedirectTo, ForwardTo and ForwardAsAttachmentTo properties. Hidden rules do not appear in Outlook, which is why attackers use them. Check mailbox-level forwarding separately with Get-Mailbox, and run the Auto forwarded messages report for the whole tenant.
Do I have to report a compromised Microsoft 365 account in Australia?
Report the incident to the Australian Signals Directorate through ReportCyber or the 24/7 hotline on 1300 CYBER1 (1300 292 371); ASD encourages reporting even when you are unsure it is an incident. Separately, if the account held personal information and unauthorised access is likely to result in serious harm, the Notifiable Data Breaches scheme applies: you have 30 days to assess a suspected eligible breach and must notify the OAIC and affected individuals as soon as practicable once satisfied it is one.
How long does a Microsoft 365 account compromise investigation take?
Containment is under an hour with administrator access and this sequence in front of you. The investigation depends on the window: reviewing sign-in logs, audit logs, message trace and file activity for a single mailbox over a few days is a half-day of work. If the compromised account held Global Administrator, treat the scope as the whole tenant and get specialist help.

The matched next step

Find out where your own tenant would have failed

Most incidents start with a control Frontrow checks in week one: MFA coverage, legacy authentication, admin sprawl, unpatched servers. A security baseline review scores your Microsoft 365 tenant against the Essential Eight and hands you a prioritised fix list — whether or not Frontrow does the fixing.

Talk to Frontrow

Want a second opinion on your own tenant?

Send through what you're running and a senior consultant replies the same business day with the path that fits — no call queue, no obligation. Prefer email? Write to info@frontrow.email or call 1300 012 466.

You're enquiring about: Cyber Security / Essential Eight

By submitting you agree Frontrow can email and call you back. No marketing spam. We'll delete your details on request.

What happens next

  • Today — a same-business-day reply from a senior consultant, not a ticket number.
  • This week — a 30-minute call if it looks like a fit.
  • You get — a written next step either way. No obligation.

Want Frontrow to run this with your team?

A 30-minute call with a senior consultant. No deck. Frontrow walks through your tenant, your priorities and the next sensible move.