Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

(L2) Ensure 'sign-in risk' is blocked for medium and high risk

CIS.M365.5.2.2.8MediumEntra IDConditional AccessPreview 3.0

Part of CIS · Entra ID · Conditional Access · All checks

Run this check
Invoke-Maester -TestId CIS.M365.5.2.2.8

An enabled Conditional Access policy blocks access when the sign-in risk is medium or high.

Asking a risky sign-in for MFA still leaves the account open to an attacker who can complete the prompt, for example by relaying it. Blocking sign-ins that Microsoft Entra ID Protection rates medium or high stops them before a session exists, and users with a genuine need are sent to the helpdesk.

The policy needs Microsoft Entra ID P2 licences. Expect some false positives, so involve the helpdesk before enabling it.

User and group exclusions are not evaluated by this test. Application exclusions are also not evaluated when the policy targets all apps; verify exclusions are documented and reviewed annually. A condition that narrows the policy is reported unless the check is about that condition.

  1. Sign in to the Microsoft Entra admin center.
  2. Go to Entra ID > Conditional Access > Policies and select New policy.
  3. Under Users, include All users. Exclude your emergency access accounts.
  4. Under Target resources, select All resources (formerly All cloud apps) without exclusions.
  5. Under Conditions > Sign-in risk, set Configure to Yes and select High and Medium.
  6. Under Grant, select Block access.
  7. Set Enable policy to On (use Report-only first to measure the impact) and select Create.
Every attribute of this check
FieldValue
Test IDCIS.M365.5.2.2.8
SeverityMedium
SuiteCIS
ProductEntra ID
FeatureConditional Access
AreaAccess control
Resource typeTenant
User impactMedium
Implementation costMedium
MITRE ATT&CKT1078.004 Cloud Accounts
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.2.2.8
Benchmark levelL2
Benchmark profilesE5 Level 2
Supports controlscis-m365:5.2.2.8, nist-800-53-r5:AC-2(12)
PowerShell testTest-MtCisBlockMediumHighSignInRisk
ServicesGraph
Compatible licensesAAD_PREMIUM_P2