Home / Insights / Microsoft 365 Identity
Identity & Access Security

Microsoft 365 Identity Security: A Conditional Access Baseline

A practical Conditional Access baseline for Microsoft 365 and Entra ID: licensing, emergency access accounts, Microsoft’s Secure foundation templates, report-only testing and lockout recovery.

Microsoft 365 identity and Conditional Access
Microsoft Entra Conditional Access

As of 11 October 2026. Microsoft renames portals and adds templates regularly. Check the Microsoft Learn pages in the sources for current names before you build policies.

Key takeaways
  • Block legacy authentication and enforce MFA through conditional access, not per-user settings.
  • Remove permanent Global Administrators; use PIM and two monitored break-glass accounts.
  • Require compliant or managed devices for access to company data.
  • Send sign-in and audit logs to the SIEM for correlation.

Identity is the Microsoft 365 perimeter

In Microsoft 365, almost every attack path starts with a sign-in: a phished password, an approved MFA prompt, a legacy protocol that skips MFA, or an over-privileged admin account. Conditional Access is the policy engine in Microsoft Entra ID that decides, at sign-in, whether to allow access, require more proof, or block. This guide sets out a baseline that a small or mid-sized organisation can deploy safely, in the order that avoids locking yourself out.

Licensing: security defaults or Conditional Access

OptionLicenceWhat you get
Security defaultsNone required (all tenants)MFA registration for all users, MFA for administrators and when Microsoft judges it necessary, MFA for Azure management, and blocking of legacy authentication and device code flow. No exclusions or customisation.
Conditional AccessAt least Microsoft Entra ID P1 (included in Microsoft 365 Business Premium, E3 and E5)Policies scoped by user, app, device, location and client type, with report-only testing and documented exclusions.
Risk-based Conditional AccessMicrosoft Entra ID P2 (included in Microsoft 365 E5)Sign-in risk and user risk conditions from Microsoft Entra ID Protection.

If you do not have P1, keep security defaults on. If you move to Conditional Access, Microsoft requires you to disable security defaults, so the policies below must replace every protection security defaults gave you before you switch.

Step 1: create emergency access accounts first

Before any policy can block sign-in, create the accounts that let you undo a mistake. Microsoft’s guidance for emergency access (“break-glass”) accounts:

  • Create two or more accounts.
  • Make them cloud-only, using the *.onmicrosoft.com domain, not federated or synchronised from on-premises Active Directory.
  • Assign Global Administrator as an active, permanent assignment rather than eligible through PIM.
  • Protect them with phishing-resistant authentication: a passkey (FIDO2) security key, or certificate-based authentication if you run a PKI. Use methods different from your everyday admin accounts.
  • Exclude them from Conditional Access policies that block or restrict sign-in. Report-only policies do not need the exclusion.
  • Do not tie them to an individual employee or their phone; store credentials in secure, separate locations.
  • Alert on every sign-in using Azure Monitor, Microsoft Sentinel or your SIEM.
  • Test them at least every 90 days, and after staff or subscription changes.

Step 2: the baseline policies

Microsoft groups its Conditional Access templates into categories. The Secure foundation templates are the ones Microsoft recommends as a base for all organisations. Build them from Entra ID › Conditional Access › Create new policy from templates, and set each one to Report-only before you save it.

Template (Microsoft name)What it doesRollout notes
Require multifactor authentication for adminsMFA for users holding privileged directory rolesStart here; exclude only the emergency access accounts
Securing security info registrationControls where and how users register MFA methodsPrevents an attacker with a stolen password registering their own MFA method
Block legacy authenticationBlocks protocols that cannot do MFA (for example older Exchange ActiveSync and other basic-auth clients)Check sign-in logs for legacy clients first; scanners and old line-of-business apps are the usual surprises
Require multifactor authentication for admins accessing Microsoft admin portalsMFA for admin portal accessComplements the admin-role policy for portal access
Require multifactor authentication for all usersMFA for every user and appRoll out in waves; exclude emergency access accounts and documented service accounts only
Require multifactor authentication for Azure managementMFA for the Azure portal, CLI and PowerShellImportant even if you use Azure lightly
Require compliant or Microsoft Entra hybrid joined device or multifactor authentication for all usersAllows managed devices, otherwise requires MFANeeds Intune compliance policies or hybrid join to be useful
Require compliant deviceAllows access only from Intune-compliant devicesDeploy last, after device enrolment is complete

Use a naming convention that sorts and explains itself, for example CA001-Admins-MFA, CA002-All-BlockLegacyAuth. Record the owner, purpose and every exclusion of each policy in a register.

Illustrative: creating a policy in report-only mode with Microsoft Graph

Illustrative example, not run against a specific tenant. It uses the Microsoft Graph PowerShell SDK and the conditionalAccessPolicy resource. Replace the placeholder object IDs with your emergency access accounts and review the result in the portal before enabling it.

Connect-MgGraph -Scopes "Policy.ReadWrite.ConditionalAccess","Policy.Read.All"

$policy = @{
  displayName = "CA002-All-BlockLegacyAuth"
  state       = "enabledForReportingButNotEnforced"   # report-only
  conditions  = @{
    users          = @{
      includeUsers = @("All")
      excludeUsers = @("<break-glass-1-object-id>", "<break-glass-2-object-id>")
    }
    applications   = @{ includeApplications = @("All") }
    clientAppTypes = @("exchangeActiveSync", "other")
  }
  grantControls = @{ operator = "OR"; builtInControls = @("block") }
}

New-MgIdentityConditionalAccessPolicy -BodyParameter $policy

Step 3: test in report-only mode

Report-only mode evaluates a policy at every sign-in without enforcing it, so users are not prompted or blocked. Results appear in the Conditional Access and Report-only tabs of each sign-in log entry:

  • Report-only: Success — the sign-in already met the policy.
  • Report-only: Failure — the policy applied and the sign-in would not have met it.
  • Report-only: User action required — the user would have been asked to do something, such as complete MFA.
  • Report-only: Not applied — the policy’s conditions were not met.

The Conditional Access insights and reporting workbook summarises the impact across users and apps. It needs Microsoft Entra ID P1 and sign-in logs sent to a Log Analytics workspace. Leave each policy in report-only mode for at least one full business cycle (often one to two weeks), investigate every failure that belongs to a real user or system, then enable the policy for a pilot group before everyone else.

Step 4: operate the baseline

  • Exclusions are debt. Every excluded user, group or app needs an owner, a reason and a review date. Replace service accounts with workload identities where possible.
  • Review monthly: new legacy-authentication sign-ins, policy failures for privileged users and changes to policies themselves.
  • Test the emergency accounts at least every 90 days and confirm the sign-in alert fired.
  • Plan the next layer: phishing-resistant authentication strengths for administrators, device compliance, and risk-based policies if you have P2.

If you lock yourself out

  1. Sign in with an emergency access account, which is excluded from blocking policies.
  2. Switch the policy that caused the lockout to Report-only or Off.
  3. Use the sign-in logs for affected users to see which policy and condition blocked them.
  4. Fix the scope or exclusion, test again in report-only mode, and record what happened.

If both emergency accounts are unavailable, recovery depends on Microsoft support verifying tenant ownership, which can take time. That is why the 90-day test matters.

Sources

Primary sources used for this article (checked 11 October 2026):

Frequently Asked Questions

About the Author

Lalit Bhardwaj — Founder & Technology Strategist, XOOPIE. Lalit leads XOOPIE with a hands-on technology strategy and infrastructure engineering approach. His focus is on understanding how an organization actually operates and translating that reality into an appropriate, resilient technical design.

Read Lalit Bhardwaj's full profile →