Microsoft 365 and Entra ID Hardening Guide: How to Stop Account Takeover Before It Starts

Key Takeaways:

  • Account takeover runs on configuration, not magic. Weak multi-factor authentication (MFA), risky exclusions, legacy authentication, and inactive accounts give attackers an easy way in.
  • One identity opens a lot of doors. A single compromised account can reach email, files, apps, and admin workflows, which is how BEC and lateral movement start.
  • Start with MFA, admins, and legacy authentication. These controls break the most attack paths, and they're where most teams find the biggest gaps.
  • Look past the sign-in. Mailbox rules, forwarding, and OAuth app grants are how attackers stay put after a password reset.
  • Test before you enforce. Use report-only modes and pilot groups so a good policy doesn't become a lockout.
  • Hardening isn't a one-time checklist. Legitimate changes quietly cause configuration drift, so you need a repeatable process to find, prioritize, fix, and prevent it.
  • ISPM and ITDR work as a pair. ISPM reduces preventable exposure. ITDR detects and contains the attacks that still get through.

Most Microsoft 365 account takeovers don't start with a zero day. They’re more likely to start with a setting someone meant to fix last quarter.

An exclusion that was supposed to be temporary. An admin account without MFA. A legacy protocol nobody remembered was still switched on. Attackers don't need to be brilliant when the door's already unlocked.

If you run Microsoft 365 for a growing business, or for a dozen of them, this guide is for you. It covers what's worth locking down, why it matters, how to roll it out without ruining your users' Monday morning, and how to keep it locked down. Because hardening isn't something you finish. It's something you maintain.

Heads up: Every setting in this guide should be tested before you enforce it. Use report-only modes, pilot groups, and a rollback plan. A well-intentioned policy that locks out your CEO (or your only admin) is its own kind of incident. Also, features and licensing change over time, so confirm what's available in your tenant before you plan around it.

Microsoft 365 and Entra ID Hardening Guide: How to Stop Account Takeover Before It Starts

Key Takeaways:

  • Account takeover runs on configuration, not magic. Weak multi-factor authentication (MFA), risky exclusions, legacy authentication, and inactive accounts give attackers an easy way in.
  • One identity opens a lot of doors. A single compromised account can reach email, files, apps, and admin workflows, which is how BEC and lateral movement start.
  • Start with MFA, admins, and legacy authentication. These controls break the most attack paths, and they're where most teams find the biggest gaps.
  • Look past the sign-in. Mailbox rules, forwarding, and OAuth app grants are how attackers stay put after a password reset.
  • Test before you enforce. Use report-only modes and pilot groups so a good policy doesn't become a lockout.
  • Hardening isn't a one-time checklist. Legitimate changes quietly cause configuration drift, so you need a repeatable process to find, prioritize, fix, and prevent it.
  • ISPM and ITDR work as a pair. ISPM reduces preventable exposure. ITDR detects and contains the attacks that still get through.

Most Microsoft 365 account takeovers don't start with a zero day. They’re more likely to start with a setting someone meant to fix last quarter.

An exclusion that was supposed to be temporary. An admin account without MFA. A legacy protocol nobody remembered was still switched on. Attackers don't need to be brilliant when the door's already unlocked.

If you run Microsoft 365 for a growing business, or for a dozen of them, this guide is for you. It covers what's worth locking down, why it matters, how to roll it out without ruining your users' Monday morning, and how to keep it locked down. Because hardening isn't something you finish. It's something you maintain.

Heads up: Every setting in this guide should be tested before you enforce it. Use report-only modes, pilot groups, and a rollback plan. A well-intentioned policy that locks out your CEO (or your only admin) is its own kind of incident. Also, features and licensing change over time, so confirm what's available in your tenant before you plan around it.

Why Microsoft 365 identities are high-value targets

One identity opens a lot of doors. Email. Files in SharePoint and OneDrive. Calendars. Team chats. Connected apps. Sometimes the admin portal itself.

That's why a single compromised account can turn into business email compromise (BEC), privilege escalation, or lateral movement across the tenant. The attacker doesn't have to break in again and again. They just sign in as someone you already trust.

It's also personal. It's your client's invoice getting redirected. It's your weekend spent untangling mailbox rules. It's a call you'd rather not make.


What identity hardening actually means

Identity hardening often means four things:

  • Cutting access nobody needs
  • Enforcing strong authentication
  • Limiting risky sign-ins
  • Correcting configuration drift as it happens

That last one is where most teams get stuck.

A one-time audit is a snapshot. It tells you where you stood on a Tuesday in March. Ongoing posture management is a habit. It tells you where you stand today, and what changed since you last looked.

Think of it this way: an audit finds the holes. Hardening closes them. Maintenance keeps them closed.


The account-takeover path

Here's the realistic version of how this plays out. No exotic exploits required.

  1. MFA is weak or inconsistent. Maybe it's enforced for most users but not all. Maybe admins got a "temporary" exemption. Maybe SMS is the only option.
  2. Credentials get phished or stolen. A convincing sign-in page, a reused password from another breach, or an adversary-in-the-middle (AiTM) kit that captures the session along with the password.
  3. The sign-in succeeds through a gap. An excluded user, an unmanaged location, or a legacy protocol that ignores your MFA policy entirely.
  4. The attacker sticks around. They register their own MFA method, keep a session token alive, or get a user to approve a malicious OAuth app.
  5. They dig in. Creating hidden inbox rules. Forwarding to an external address. Delegating access. Sometimes paving a path to higher privileges.
  6. They cash out. BEC, data theft, or movement into other systems.

Six-step Microsoft 365 account takeover path: MFA gap, credential theft, sign-in gap, persistence, account abuse, cash out, each with the control that stops it

Notice what's missing from that list: malware, exploits, anything flashy. This attack path can succeed through configuration weaknesses, without a zero-day. And configuration is something you can fix.


A prioritized hardening checklist

Not everything matters equally. Here's the order we'd tackle things in, starting with the controls that break the most attack paths.

1. Authentication and MFA

What it prevents: Stolen passwords turning into stolen accounts.

  • Enforce MFA for everyone, admins first. Admin accounts are the highest-value targets, so they go to the front of the line.
  • Move high-risk users to phishing-resistant authentication. Think FIDO2 security keys, Windows Hello for Business, or certificate-based authentication. Executives, finance, HR, and anyone with admin rights are good starting groups.
  • Audit your MFA exclusions. Every exception is a door. List them, assign an owner, and put an expiration date on each one.
  • Deal with MFA fatigue and AiTM. Number matching can help reduce accidental approvals. When enabled, showing the app name and location in Authenticator gives users more context to assess a request. Phishing-resistant methods go further. FIDO2 security keys and passkeys use origin-bound public-key cryptography, which helps prevent a fake sign-in page from capturing a reusable credential.

Start with a pilot group. Make sure people have a registered backup method before you enforce anything.

2. Conditional Access

What it prevents: Sign-ins from places, devices, or protocols you never intended to allow.

  • Require MFA based on context. User, app, device state, location, and sign-in risk are all signals you can use.
  • Block legacy authentication where it’s still possible. Older protocols can't do modern MFA, so they're a classic way around it. Microsoft has retired basic authentication for many Exchange Online protocols, but you should review SMTP AUTH and legacy sign-ins.
  • Review exclusions and overlapping policies. Conflicting rules are where surprises hide. Someone excluded from policy A might also fall outside policy B.
  • Use report-only mode first. Let a policy run in report-only, read the sign-in logs, then enforce.

Exclude emergency-access accounts from Conditional Access policies that could block or restrict sign-in. Protect and monitor them, and test access regularly.

3. Privileged access

What it prevents: One stolen account becoming total tenant control.

  • Shrink your Global Administrator count. Keep it to a small number. Microsoft's guidance points to fewer than five.
  • Split daily-use and admin accounts. Nobody should read email and manage the tenant from the same identity.
  • Apply least privilege. Use narrower built-in roles where they fit, and use just-in-time elevation where your licensing and workflow support it.
  • Clean up the forgotten accounts. Dormant users, old guests, unused service accounts, and emergency-access accounts all need a review. Emergency-access accounts should be few, strongly protected, and monitored. They're a last resort, not a convenience.

Document who needs which role and why before you remove anything. Then remove in stages.

4. Exchange Online and mailbox security

What it prevents: Attackers hiding in plain sight inside a compromised mailbox.

Mailbox manipulation is one of the most common ways to keep a BEC going. An attacker creates a rule that forwards or hides messages, and the real user never sees the invoice conversation being hijacked.

  • Review forwarding rules, inbox rules, and delegate permissions. Look for rules that move mail to obscure folders, delete messages, or forward outside your domain.
  • Restrict external forwarding. If your business doesn't need it, turn it off at the tenant level.
  • Treat unexpected changes as a signal. A new rule on an executive's mailbox at 2 a.m. deserves a look.

Some teams do use external forwarding for legitimate reasons. Find those first, then build narrow exceptions.

5. OAuth and application access

What it prevents: Attackers keeping access even after you reset a password.

A malicious app with the right permissions doesn't need the user's password. Resetting credentials won't touch it.

  • Review granted permissions and flag risky apps. Look for broad mail, file, or directory access from publishers you don't recognize.
  • Restrict user consent where it makes sense. Route requests through an admin approval workflow.
  • Watch for new grants. New OAuth consents and admin consent activity are worth tracking.

Before you tighten consent, inventory the apps your teams already use. Blocking a sanctioned tool is a great way to get a loud ticket.

6. Sessions, devices, and sign-ins

What it prevents: Stolen sessions staying useful for days.

  • Watch for risky sign-ins. Impossible travel, unfamiliar locations, and suspicious networks are all worth reviewing.
  • Review session lifetime and token controls. Use Conditional Access session controls to manage reauthentication. For suspected compromise, revoke sessions and use Continuous Access Evaluation where supported.
  • Write down your revocation process. When a compromise happens, you should already know how to revoke sessions, reset credentials, remove attacker-added MFA methods, and check for rules and app grants. Don't build that plan mid-incident.

Want this in a format you can work from?

Our Identity Hardening Checklist splits the work into fixes you can make this week and habits that keep your tenant locked down as it changes. It covers closing MFA gaps, setting owners and expiration dates on exceptions, and rolling out changes in phases so you don't disrupt anyone's day.

Download the Identity Hardening Checklist →


How to validate that hardening works

Turning on a setting doesn’t ensure protection. Here's a recurring process that keeps you honest:

  1. Define a baseline. What does "good" look like for your tenant?
  2. Test policies against real users and workflows. Include the complex collaborations: shared mailboxes, service accounts, field staff on odd networks.
  3. Review exclusions and exceptions on a schedule. If nobody owns an exception, it's probably not necessary.
  4. Track Secure Score and control coverage. Useful as a trend line, not as a finish line.
  5. Monitor for unauthorized changes. Who changed what, and was it supposed to happen?
  6. Reassess after big shifts. Microsoft updates, licensing changes, mergers, new apps, and staff turnover can all change your risk.

Here's the part that matters most: visibility alone doesn't close anything. A dashboard full of red findings is a to-do list, not protection. Real posture management includes the work of fixing and enforcing.


Why configuration drift matters

Here's how a hardened tenant quietly gets less hardened.

A project needs a quick exception. A contractor gets a temporary role. Someone turns off a policy to troubleshoot a sign-in problem and never turns it back on. A licensing change shifts which controls are available. None of it's malicious. All of it reopens something.

That's drift. It's ordinary, it's constant, and it's easy to miss.

Periodic scanning catches drift after it's been sitting there for weeks. Continuous monitoring catches it closer to when it happens. And remediation, actually putting the setting back, is what turns a finding into a fix.


Where ISPM fits

Identity Security Posture Management (ISPM) is the continuous discovery, assessment, and improvement of your identity posture across configurations, permissions, account health, and policies.

It helps to see how it sits next to the other pieces:

  • IAM governs who has access.
  • ISPM finds and closes posture weaknesses.
  • ITDR (identity threat detection and response) detects and responds to active identity threats.
  • Native Microsoft controls give you important capabilities, but someone still has to configure them, watch them, and maintain them.

ISPM is proactive. It focuses on prevention to reduce the number of openings an attacker can find. It doesn't replace detection and response, and it won't stop an attack already in progress on its own.


Managed vs. self-managed identity hardening

There's no single right answer. It depends on your people, your time, and how many tenants you're responsible for.

Model

Best fit

Trade-off

Self-managed

Teams with Microsoft identity expertise and operational bandwidth

Your team owns baseline design, testing, remediation, and drift management

Managed ISPM

Lean IT teams and MSPs managing multiple tenants

The provider owns the hardening framework, rollout, enforcement, and ongoing maintenance

If you're evaluating tools, ask one question above all others: does it only report problems, or does it help close and maintain the gaps?

A long list of findings sounds great in a demo. It feels very different at 4:45 PM on a Friday when nobody has time to work through it.

ISPM and ITDR: a complete identity defense

These two work best as a pair.

ISPM shrinks your exposure by closing the gaps attackers rely on. ITDR catches and contains the attacks that still get through, because some will. Prevention without detection leaves you blind. Detection without prevention leaves you chasing the same problems over and over.

Together, they cover both sides: fewer openings, and faster answers when someone tries one anyway.


Hardening is a habit

You don't need to fix everything this week. Start with MFA and your admins. Block legacy authentication. Clean up the accounts nobody remembers. Then keep going, and keep checking.

If you'd rather not own that loop alone, that's what Managed ISPM is for: Huntress defines, deploys, and maintains the hardening controls so your team isn't carrying every tenant on its back.

Evaluating your options? Download The Practical Buyer's Guide to ISPM for a clear checklist of what to ask any vendor. Or learn more about Huntress Managed ISPM.

Hardening isn't about being perfect. It's about being harder to break into than the next tenant on the list. Keep closing doors. Keep checking the locks. And keep building.

Frequently Asked Questions

It's the practice of reducing unnecessary access, enforcing strong authentication, limiting risky sign-ins, and correcting configuration drift across your Microsoft 365 and Entra ID environment. It's an ongoing process, not a one-time audit.

Microsoft Entra ID is the current name for what used to be called Azure Active Directory (Azure AD). It's the same identity platform with a new name, so you'll still see both terms in older documentation, scripts, and tools.

Start with MFA for everyone, admins first. Then block legacy authentication, review your Conditional Access exclusions, and cut down your Global Administrator assignments. After that, move on to mailbox rules, OAuth app permissions, and sign-in monitoring.

MFA makes a stolen password far less useful on its own. Conditional Access decides when, where, and how people can sign in, based on signals like user, app, device, location, and risk. Gaps in either one, like exclusions or legacy protocols, are what attackers look for.

No. MFA is essential, but attackers use adversary-in-the-middle phishing, MFA fatigue, and sign-in paths that skip MFA entirely. Phishing-resistant methods for high-risk users, tight Conditional Access, and regular review of exclusions all close the gaps MFA alone can't.

Everyday changes like temporary exceptions, contractor access, and troubleshooting shortcuts can quietly open or reopen attack paths. Continuous monitoring and remediation catch drift sooner than periodic scans do.

IAM governs who has access. ISPM continuously finds and closes identity posture weaknesses. ITDR detects and responds to active identity threats. They cover different jobs, and they work best together.

No. ISPM reduces the openings attackers rely on, but it isn't built to detect and respond to an attack in progress. Pair it with identity threat detection and response so you're covered on both sides.

It depends on your team's Microsoft identity expertise and bandwidth. Self-managing works for teams that can own baseline design, testing, remediation, and drift management. Managed ISPM tends to fit lean IT teams and MSPs managing multiple tenants. When you compare options, ask whether a tool only reports problems or helps you close and maintain the gaps.

Look for continuous discovery and assessment, clear prioritization, and practical remediation, not just findings. Ask how it handles safe rollout, enforcement, and drift correction, and whether it works across all the tenants you manage.


Choosing an ISPM Solution? Get the Playbook.

Not every ISPM tool actually hardens your posture, some just give you another dashboard to monitor. The Practical Buyer's Guide to ISPM breaks down the capabilities that matter, the questions to ask vendors, and whether a managed or self-managed model fits your team.

Get Your ISPM Buyers Guide

You May Also Like

Read more about How to Evaluate and Choose a Managed EDR Solution for Your MSP?
How to Evaluate and Choose a Managed EDR Solution for Your MSP?
Resource Guide

For MSPs, choosing the right managed EDR doesn’t have to feel like a guessing game. Get expert tips and MSP-first workflows to find the perfect fit for your stack—and keep those threats in check.

Read more about ASD Essentials An MSP Guide to Moving from Essential Eight
ASD Essentials An MSP Guide to Moving from Essential Eight

ASD Essentials doesn’t convert Essential Eight ratings. See how MSPs can scope the transition, plan hours, and where Huntress fits in delivery.

Read more about How to Start a Managed Service Provider Business?
How to Start a Managed Service Provider Business?
Resource Guide

A practical step-by-step guide covering everything aspiring MSP owners need to know, from defining a niche and building a service stack to pricing, marketing, and layering in managed security services to grow a profitable, scalable business.