How-to · Entra ID

Enable MFA in Microsoft 365 (Microsoft Entra ID)

At the end every user in your tenant will be required to use multifactor authentication, through either security defaults or Microsoft's documented Conditional Access policies, with two emergency access accounts that cannot be locked out and a campaign nudging users to set up Microsoft Authenticator.

Updated 4 Nov 202614 steps7 official sources
Before you start

What you need before step 1

Applies to: Microsoft Entra ID for Microsoft 365 tenants: security defaults (any licence) and Conditional Access (Microsoft Entra ID P1 or P2), as documented by Microsoft

Admin roles you need

  • Conditional Access Administrator (at least) to turn security defaults on or off and to create Conditional Access policies
  • Authentication Policy Administrator (at least) to configure the registration campaign
  • Global Administrator to assign the Global Administrator role to the emergency access accounts
  • Reports Reader, Security Reader or Global Reader (or higher) to read the Authentication methods Activity report

Licences

  • Security defaults: no extra licence. Microsoft says they suit organisations on the free tier of Microsoft Entra ID.
  • Conditional Access: at least Microsoft Entra ID P1 for the users it covers (included in some Microsoft 365 plans; check the vendor's current licensing page).
  • Authentication methods Usage and insights (Activity report): Microsoft Entra ID P1 or P2.

Download

Security info page for users (My Security Info)Users register Microsoft Authenticator or a passkey herehttps://aka.ms/MySecurityInfoDownload

Install instructions

Microsoft Graph PowerShell SDK (installed from the PowerShell Gallery)Optional: used in step 6 to revoke sessions so users register straight awayhttps://learn.microsoft.com/en-us/graph/sdks/sdk-installationOur step-by-step →Install steps

Web portals you will use (nothing to install)

Microsoft Entra admin centerWhere security defaults, Conditional Access and the registration campaign are sethttps://entra.microsoft.comOpen

Reference documentation

Microsoft docs: Manage emergency access accountsReference for break-glass account designhttps://github.com/MicrosoftDocs/entra-docs/blob/main/docs/identity/role-based-access-control/security-emergency-access.mdRead

Also have ready

  • Two FIDO2 security keys (passkeys) for the emergency access accounts, different from the method your normal admins use
  • A list of service accounts, scanners and apps that sign in with older protocols (IMAP, POP3, SMTP AUTH) or device code sign-in, because both are blocked by security defaults
  • A message to users before the change; Microsoft publishes communication templates at https://aka.ms/mfatemplates
Step by step

14 steps

  1. 1

    Create two emergency access (break-glass) accounts

    Where: Microsoft Entra admin center (https://entra.microsoft.com) > Entra ID > Users

    Sign in as a Global Administrator. Select New user > Create new user and create two cloud-only accounts on your contoso.onmicrosoft.com domain, for example breakglass1@contoso.onmicrosoft.com. Do not use a federated or synchronised account. Assign each one the Global Administrator role. If you use Privileged Identity Management, make the assignment active and permanent, not eligible. Do not link the accounts to any person's phone.

    You should see: Both accounts appear under Entra ID > Users with the Global Administrator role listed on their Assigned roles page.
  2. 2

    Give the break-glass accounts a passkey and a group

    Where: Microsoft Entra admin center > Entra ID > Authentication methods, then a private browser window signed in as each break-glass account

    Microsoft recommends a passkey (FIDO2) security key, or certificate-based authentication if you already run a PKI. Enable the Passkey (FIDO2) method for the accounts, then sign in as each account at https://aka.ms/MySecurityInfo and register its security key. Create a security group named EmergencyAccess under Entra ID > Groups and add both accounts. Store the keys in separate secure places that several administrators can reach.

    You should see: Each account's Security info page lists a passkey. The EmergencyAccess group shows two members.
  3. 3

    Check what is protecting the tenant now

    Where: Microsoft Entra admin center > Entra ID > Overview > Properties

    Select Manage security defaults and note whether Security defaults is Enabled or Disabled. Then open Entra ID > Conditional Access > Policies and note any existing policies, including Microsoft-managed ones. Tenants created on or after 22 October 2019 may already have security defaults on.

    You should see: You know which model is in use: security defaults Enabled, or Disabled with Conditional Access policies listed.
  4. 4

    Pick security defaults or Conditional Access

    Where: Your own licence list (Microsoft 365 admin center > Billing > Your products)

    Use security defaults if you have no Microsoft Entra ID P1 or P2 licences: it is on or off with no exclusions. Use Conditional Access if you have P1 or P2: you can exclude break-glass accounts and the sync account, target admins separately and test in report-only mode. You cannot run both; Microsoft says organisations that move to Conditional Access must disable security defaults. For security defaults go to step 5; for Conditional Access go to step 7.

    You should see: A decision recorded in your migration plan.
  5. 5

    Option A: turn on security defaults

    Where: Microsoft Entra admin center > Entra ID > Overview > Properties > Manage security defaults

    Sign in as at least a Conditional Access Administrator. Set Security defaults to Enabled and select Save. This requires all users to register for MFA (Microsoft Authenticator notifications), requires MFA for admin roles at every sign-in, prompts users for MFA when Microsoft judges it necessary, blocks legacy authentication protocols, blocks device code flow and requires MFA for the Azure portal, Entra admin center, Azure PowerShell and Azure CLI. Do not disable authentication methods while security defaults are on; Microsoft warns this can lock you out.

    You should see: The pane closes and Security defaults shows Enabled. Users are asked to set up their account at their next sign-in.
  6. 6

    Option A: revoke existing sessions so users register now

    Where: PowerShell 7 or Windows PowerShell 5.1 on your admin PC with Microsoft Graph PowerShell installed

    Microsoft says administrators should revoke existing tokens after enabling security defaults so signed-in users must authenticate again and register. Connect with Microsoft Graph PowerShell (see install Microsoft Graph PowerShell), check the permission the cmdlet needs, then revoke per user. Start with a pilot user.

    Find-MgGraphCommand -Command Revoke-MgUserSignInSession | Select -First 1 -ExpandProperty Permissions
    Connect-MgGraph -Scopes "User.ReadWrite.All"
    Revoke-MgUserSignInSession -UserId user@contoso.com
    You should see: The command returns without an error. The user is asked to sign in again and is taken to the Microsoft Authenticator setup.
  7. 7

    Option B: disable security defaults

    Where: Microsoft Entra admin center > Entra ID > Overview > Properties > Manage security defaults

    Only if you chose Conditional Access. Set Security defaults to Disabled (not recommended), choose a reason and select Save. Create the policies in the next steps straight away: Microsoft says organisations should immediately enable Conditional Access policies after disabling security defaults.

    You should see: Security defaults shows Disabled.
  8. 8

    Option B: require MFA for all users

    Where: Microsoft Entra admin center > Entra ID > Conditional Access > Policies > New policy

    Name it, for example CA001 Require MFA all users. Under Users or workload identities > Include select All users. Under Exclude > Users and groups select the EmergencyAccess group; if you use Microsoft Entra Connect or Cloud Sync, also select Directory roles > Directory Synchronization Accounts. Under Target resources > Resources > Include select All resources. Under Grant select Grant access > Require authentication strength > Multifactor authentication strength > Select. Set Enable policy to Report-only and select Create.

    You should see: The policy is listed with State Report-only.
  9. 9

    Option B: require stronger MFA for administrators

    Where: Microsoft Entra admin center > Entra ID > Conditional Access > Policies > New policy

    Name it, for example CA002 Require phishing-resistant MFA admins. Under Include select Directory roles and pick at least Global Administrator, Exchange Administrator, SharePoint Administrator, User Administrator, Security Administrator, Conditional Access Administrator, Privileged Role Administrator, Privileged Authentication Administrator, Authentication Administrator, Helpdesk Administrator, Password Administrator, Billing Administrator, Application Administrator and Cloud Application Administrator. Exclude the EmergencyAccess group. Target All resources, and under Grant choose Require authentication strength > Phishing-resistant MFA strength. Set it to Report-only and Create. Microsoft cautions that admins must register a phishing-resistant method first or you risk locking yourself out.

    You should see: A second Report-only policy appears in the list.
  10. 10

    Option B: review report-only results and switch the policies on

    Where: Microsoft Entra admin center > Entra ID > Conditional Access > Policies > (policy) > Policy impact, and Entra ID > Monitoring & health > Sign-in logs

    Open each policy and check the Policy impact tab where it is shown. In Sign-in logs, filter by Conditional Access or Username, select a sign-in and open its Conditional Access tab to see how each policy was evaluated. Look for migration tool accounts, scanners and apps. When the results are what you expect, open each policy, set Enable policy to On and select Save.

    You should see: Both policies show State On. A test user signing in is asked for MFA; a break-glass account is not blocked.
  11. 11

    Nudge users to set up Microsoft Authenticator

    Where: Microsoft Entra admin center > Entra ID > Authentication methods > Registration campaign

    Sign in as at least an Authentication Policy Administrator and select Edit. Set State to Microsoft managed (Microsoft picks the method and snooze settings) or Enabled (you pick Microsoft Authenticator or Passkey, Days allowed to snooze from 0 to 14 and Limited number of snoozes). Include all users or a pilot group, exclude the EmergencyAccess group and select Save. For the Authenticator campaign, Microsoft Authenticator must be enabled in the authentication methods policy with Authentication mode set to Any or Push.

    You should see: The Registration campaign page shows your State, method and included groups. Eligible users see a prompt to set up Authenticator after their next MFA sign-in.
  12. 12

    Tell users how to register

    Where: Each user, in a browser on their computer and the Microsoft Authenticator app on their phone

    Send users to https://aka.ms/MySecurityInfo. They sign in, select Add sign-in method, choose Microsoft Authenticator, install the app from their phone's app store when prompted, then scan the QR code shown on screen. Under security defaults users can register only with the notification option. With number matching, sign-in shows a number that the user types into Authenticator.

    You should see: The user's Security info page lists Microsoft Authenticator, and a test sign-in shows a number to enter in the app.
  13. 13

    Check registration across the tenant

    Where: Microsoft Entra admin center > Entra ID > Authentication methods > Activity (needs P1 or P2)

    Open the Registration tab and select User registration details. Filter MFA Capable to Not Capable to find users who have not registered. Microsoft says the report updates for most users within 36 hours. Chase those users before migration day.

    You should see: A list of users with MFA Capable, Methods registered and Last Updated Time. Every migrating user shows Capable.
  14. 14

    Test the migration admin account and tools

    Where: A private browser window and the admin PC you will migrate from

    Sign in with the account your migration will use and complete MFA. Connect the tools you plan to use (for example Exchange Online PowerShell) with interactive sign-in. Under security defaults, device code sign-in such as Connect-ExchangeOnline -Device is blocked, and any tool that signs in to Microsoft 365 with IMAP, POP3 or SMTP basic authentication is blocked. Sign in to each break-glass account once to prove it works.

    Connect-ExchangeOnline -UserPrincipalName admin@contoso.com
    Get-AcceptedDomain
    You should see: You complete MFA and the tool connects. Get-AcceptedDomain lists your domains. Both break-glass accounts sign in with their passkeys.
From experience

Expert tips

Build the break-glass accounts first, every time

Before you touch security defaults or a policy, have two cloud-only onmicrosoft.com Global Administrators with passkeys that differ from your normal admin method. Microsoft says to exclude them from policies that block or restrict sign-in (report-only policies do not need the exclusion) and to test them at least every 90 days. In a tenant-to-tenant move, create them in both tenants.

Run new policies in report-only for a short, planned window

Report-only shows who would be challenged or blocked without enforcing anything. Disable security defaults, create the policies, review the Policy impact tab and the Conditional Access details in Sign-in logs, then switch them On the same day or soon after. A long gap between turning security defaults off and policies on leaves the tenant with no MFA.

Find the things that break before migration day

Security defaults block legacy protocols and device code flow. Before you enable them, list printers and scanners that send mail with SMTP AUTH, line-of-business apps using IMAP or POP3, and scripts that use device code sign-in. Fix or move them first, or use Conditional Access where you can scope exceptions.

Use the registration campaign rather than a big-bang deadline

The campaign prompts users after a normal MFA sign-in. With State Enabled you set snooze days (0 to 14) and can limit snoozes so users must register after three skips. Run it a few weeks ahead of cutover and use User registration details to chase the Not Capable list.

Separate admin and day-to-day accounts

Security defaults require MFA every time an admin role signs in. Microsoft suggests separate accounts for administration and normal work so admins are prompted less often, and that every admin signs in after you enable security defaults so they register methods.

Check it worked

How to confirm it worked

  • Entra ID > Overview > Properties > Manage security defaults shows Enabled, or Entra ID > Conditional Access > Policies shows your MFA policies with State On.

  • Sign in as a test user in a private window: you are asked to approve a sign-in in Microsoft Authenticator by entering the number shown.

  • Entra ID > Authentication methods > Activity > User registration details shows MFA Capable for migrating users (P1 or P2 tenants).

  • Each break-glass account signs in with its passkey and is not blocked. In Sign-in logs, open its sign-in and check Conditional Access shows the policies as Not applied.

Undo

How to reverse it

Rollback:

Security defaults: set Security defaults to Disabled (not recommended) in Entra ID > Overview > Properties > Manage security defaults. Conditional Access: open each policy and set Enable policy to Report-only or Off, or delete it (Microsoft-managed policies can be turned off but not deleted). Registration campaign: set State to Disabled. Methods users registered stay on their accounts until removed. Turning MFA off leaves accounts exposed during a migration, so only do it to recover from a lockout, and use a break-glass account to sign in if your normal admins are blocked.

Troubleshooting

Errors you might see

Older apps, scanners or scripts stop signing in after security defaults are turned on

Cause: Security defaults block every authentication request made by legacy protocols such as IMAP, POP3 and SMTP, and Exchange ActiveSync basic authentication.

Fix: Move the device or app to modern authentication, or follow Microsoft's guidance for multifunction devices sending through Microsoft 365. If it cannot change and you have P1, use Conditional Access instead of security defaults.

Connect-ExchangeOnline -Device or another device code sign-in never completes

Cause: Security defaults block device code flow, and Microsoft says new tenants from 1 July 2026 block it as part of security defaults.

Fix: Sign in interactively in a browser on the admin PC instead of using -Device or -UseDeviceAuthentication.

Per-user MFA page shows users as Disabled after you enable MFA

Cause: Disabled is the expected per-user status when MFA comes from security defaults or Conditional Access.

Fix: Check registration in Authentication methods > Activity instead, and leave per-user MFA alone.

Users are not shown the Authenticator registration prompt

Cause: They already have Authenticator push set up, Authenticator is not enabled for them, the Authentication mode is Passwordless, or a Conditional Access policy limits security info registration (for example to the internal network).

Fix: Check the Microsoft Authenticator settings under Authentication methods > Policies, set Authentication mode to Any or Push, and review policies for the Register security information user action.

Admins locked out after the phishing-resistant MFA policy is turned on

Cause: The admins had not registered a phishing-resistant method before the policy was enforced.

Fix: Sign in with a break-glass account, set the policy to Report-only, register passkeys for the admins (Microsoft suggests a Temporary Access Pass for this), then turn the policy back on.

FAQ

Questions

Can I exclude a break-glass account from security defaults?

No. Security defaults are on or off with no customisation. Exclusions need Conditional Access, which needs at least Microsoft Entra ID P1.

Does the Entra Connect sync account need MFA?

Microsoft says accounts with the Directory Synchronization Accounts role are excluded from security defaults. In Conditional Access you exclude that directory role yourself, as in step 8.

Is there still a 14-day grace period for registration?

No. Microsoft removed the 14-day registration grace period for new and existing tenants from 29 July 2024. New tenants get a 24-hour grace period after creation before security defaults are enforced.

Which authentication method should users register?

Under security defaults, Microsoft Authenticator with notifications. With Conditional Access you can require stronger methods such as passkeys; Microsoft recommends phishing-resistant MFA for admin roles.

Sources

Official sources

Vendors change menus and requirements. Confirm on the source before you rely on a detail. Last checked 4 Nov 2026.