Menu: fields and runbooks

Microsoft 365 · checklist

Microsoft 365 Checklist

Download PDF

Last reviewed

Not yet tested against live systems

Ordered first-hour checks for the Microsoft 365 problems that land on an admin’s desk most often. Tick items as you go. Follow the linked runbook when one exists; this list is the path through the incident, not the full procedure.

Phases: Immediate triage (or Immediate containment when an attacker is involved), Assessment, Recovery, Verification, Post-mortem.

Before you start

Check Microsoft first. Open Health > Service health in the Microsoft 365 admin center before you change anything. If Microsoft has an open incident or advisory that matches your symptoms, note its ID and avoid “fixes” that only add noise.

Have a way in. Confirm you can still sign in as an admin. If you cannot, follow the break-glass account cycle.

Commands change. PowerShell cmdlets below are from the Exchange Online and Microsoft Graph PowerShell modules. Names and parameters change between module versions; verify for your version before you run them.

Incident log. YYYY-MM-DD HH:MM TZ | Who | Action

Contents

  1. Mail flow broken
  2. User cannot sign in or license problem
  3. Compromised mailbox

1. Mail flow broken

Use this when inbound or outbound mail stops, bounces or is badly delayed for one domain, many users or the whole tenant.

Related: R3 Mail not flowing.

Immediate triage

  • Check Service health and the message center for an active Exchange Online incident.
  • Establish the direction: inbound only, outbound only, or both.
  • Establish the scope: one user, one domain, one connector or the whole tenant.
  • Collect one recent failing example: sender, recipient, time and the full bounce (NDR) text.
  • Freeze changes to DNS, connectors and transport rules until you know the cause.
  • Tell users and the helpdesk what is affected and when you will update them next.

Assessment

  • Run a message trace for the failing example (EAC Mail flow > Message trace, or Get-MessageTraceV2, which needs Exchange Online PowerShell module 3.7.0 or later). The older Get-MessageTrace is being retired in worldwide tenants; government and other sovereign clouds follow a separate timeline, so verify which cmdlet your tenant has.
  • Read the NDR status code and the server that generated it; that tells you where mail stopped.
  • Check the MX, SPF, DKIM and DMARC records for the domain (Resolve-DnsName example.com -Type MX).
  • Confirm the domain still shows as healthy under Settings > Domains in the admin center.
  • Review recent changes to inbound and outbound connectors, transport rules and accepted domains.
  • Check whether the tenant or a user is blocked from sending (Restricted entities in the Microsoft Defender portal).
  • Check quarantine for legitimate mail held by anti-spam or anti-malware policies.

Recovery

  • Roll back the most recent DNS, connector or rule change if it lines up with the start time.
  • Fix DNS records at the authoritative provider, then wait at least the record TTL.
  • Release legitimate messages from quarantine and adjust the policy that held them.
  • If a user or the tenant is restricted for sending, find out why before you unblock (see scenario 3).
  • If Microsoft has a confirmed outage, follow the R3 Mail not flowing only if your design already supports it.
  • Open a Microsoft support case with the trace results if the cause is on Microsoft’s side and not yet listed.

Verification

  • Send test mail inbound and outbound to and from an external mailbox and check the headers.
  • Re-run the message trace and confirm the test messages show as delivered.
  • Run the Microsoft Remote Connectivity Analyzer inbound SMTP test for the domain.
  • Confirm queued mail from external senders is arriving as their servers retry.
  • Ask two affected users from different teams to confirm normal mail.

Post-mortem

  • Record the timeline, the root cause and the NDR codes seen.
  • Document which change, if any, caused it, and add a check for it to your change process.
  • Lower DNS TTLs before future MX changes, and restore them afterwards.
  • Review whether a third-party backup path (H12) fits your risk.
  • Update this checklist and the helpdesk script with what you learned.

2. User cannot sign in or license problem

Use this when one or more users cannot sign in, lose access to apps, or see “no license” or “account disabled” style errors.

Related: Identity checklist.

Immediate triage

  • Get the exact error text, the app or URL, the time, the device and the network the user was on.
  • Check Service health for Microsoft Entra ID and the affected app.
  • Establish the scope: one user, a group, a location or everyone.
  • If many users are blocked at once, check your admin access first and keep the break-glass path ready.
  • If the failure looks like an attack (unknown location, many MFA prompts), switch to scenario 3.

Assessment

  • Open the user’s sign-in logs in the Microsoft Entra admin center and read the failure reason and error code.
  • Check the account: enabled, not locked out, password not expired, not a deleted or soft-deleted user.
  • Check which Conditional Access policies applied to the failed sign-in and their result.
  • Check the MFA methods registered for the user and whether they still have the device.
  • Check licence assignment and any licence errors on the user or the group that assigns it.
  • Check the tenant’s licence count for the product: available, assigned and expired.
  • For hybrid users, check directory sync health and the last sync time.

Recovery

  • Unlock, enable or reset the account through your normal identity-verification process.
  • Fix licence errors: free a seat, resolve conflicting service plans, or reprocess group-based licensing.
  • Re-register MFA only after verifying the user’s identity out of band.
  • Correct a Conditional Access policy only if it is wrong for everyone, not just to unblock one user.
  • For a sync problem, fix the cause on-premises and let the next sync cycle run.
  • Revoke the user’s sessions after a password or MFA reset (Revoke-MgUserSignInSession; verify for your version).

Verification

  • Have the user sign in to the affected app on the original device and network.
  • Confirm a successful sign-in entry in the sign-in logs with the expected Conditional Access result.
  • Confirm the mailbox, OneDrive and Teams are reachable and the licence shows the right service plans.
  • Check that no other users in the same group or location still fail.

Post-mortem

  • Record the root cause and the error code for the helpdesk knowledge base.
  • Set up a licence-count or expiry alert if you ran out of seats.
  • Review group-based licensing and Conditional Access exclusions for drift.
  • Update onboarding or offboarding steps if they caused the problem.
  • Update this checklist.

3. Compromised mailbox

Use this when a mailbox sends spam or phishing, shows rules the user did not create, or the user reports an MFA prompt or sign-in they did not start.

Related: DR checklist: after a breach, Security checklist.

Immediate containment

  • Block sign-in for the account. Synced (hybrid) user? Disable the account in on-premises Active Directory (Disable-ADAccount -Identity user-example) and reset the password there, or the next directory sync re-enables it in the cloud.
  • Reset the password and revoke all sessions and refresh tokens.
  • Remove any MFA methods you did not expect, and require re-registration with verified identity.
  • Review inbox rules (Get-InboxRule -Mailbox user@example.com | Format-List Name, Enabled, Description), then disable the ones the user did not create (Disable-InboxRule -Mailbox user@example.com -Identity "<rule name>"). Remove them (Remove-InboxRule -Mailbox user@example.com -Identity "<rule name>") only after you have recorded them for the investigation.
  • Check organisation-wide transport (mail flow) rules for anything new that forwards, BCCs or redirects mail (Get-TransportRule | Format-Table Name, State, WhenChanged).
  • Remove external forwarding on the mailbox (check ForwardingSmtpAddress and ForwardingAddress with Get-Mailbox).
  • Record the time containment started and who did it.

Assessment

  • Review the sign-in logs for the account: locations, IP addresses, apps and user agents.
  • Search the unified audit log for the account’s mailbox and admin activity (Search-UnifiedAuditLog, or Microsoft Purview Audit).
  • List mail sent during the compromise window with a message trace, including internal recipients.
  • Check mailbox delegates, Send As and Send on Behalf permissions.
  • Check OAuth app consents the user granted and any new enterprise apps.
  • Check for the same IPs or patterns against other accounts.
  • Determine whether personal or regulated data was read or sent, and record when you became aware.

Recovery

  • Remove malicious app consents, delegates and permissions you found.
  • Purge or recall phishing mail sent internally, following your tool’s procedure.
  • Warn external recipients who received mail from the account, if they could be harmed.
  • Unblock the account only after the user signs in with fresh, verified MFA.
  • If the tenant was restricted from sending, request release only after the cause is closed.
  • Hand off to legal or the data protection officer if notification duties may apply.

Verification

  • Confirm no new sign-ins from the attacker’s IPs or locations since containment.
  • Confirm inbox rules, forwarding, delegates and app consents match what the user expects.
  • Confirm outbound mail from the account is normal in message trace.
  • Check the other accounts you flagged during assessment are clean.

Post-mortem

  • Write the timeline from first malicious sign-in to all-clear.
  • Identify how the credentials or token were obtained, if you can.
  • Review Conditional Access, phishing-resistant MFA coverage and external forwarding policy.
  • Add or tune alerts for new inbox rules, forwarding and risky sign-ins.
  • Brief the user and management, and update this checklist.

Was this useful?

Esc
↑ ↓ moveEnter openEsc close