Skip to content
Sponsor
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) →

Conditional Access policy is present that blocks high agent risk sign-ins

MT.1181HighEntra IDConditional Access

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

Run this check
Invoke-Maester -TestId MT.1181

Checks whether your tenant has at least one enabled Conditional Access policy that blocks agent identities detected as high risk.

This check looks for enabled Microsoft Entra (Azure AD) Conditional Access policies that target agent identity with risk levels set to High and enforce a Block grant control. Agents (service or managed identities used by automation or AI) that are flagged as high risk by Entra ID Protection should be prevented from authenticating to prevent potentially compromised AI agents from accessing organizational resources.

To remediate, create or update a Conditional Access policy that:

  • Users or agents: all agent identities.
  • Target resources: All resources (formerly ‘All cloud apps’)
  • Conditions: Agent risk to include high.
  • Uses a grant control that includes the Block action.

Refer to Microsoft documentation when creating policies to ensure correct targeting and scope.

Every attribute of this check
FieldValue
Test IDMT.1181
SeverityHigh
SuiteMaester
ProductEntra ID
FeatureConditional Access
AreaAI and agents
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1078.004 Cloud Accounts
Supports controlsnist-800-53-r5:AC-2(12), nist-800-53-r5:AC-2(13)
PowerShell testTest-MtCaAgentRiskBlockPolicy
ServicesGraph
Compatible licensesAAD_PREMIUM_P2&AGENT_365