CAPolicies
Device Compliance

CA503-Agents-BaseProtection-AllAgentUsers-AllResources-RequireCompliantDevice

Require compliant device

About this policy

The CA503-Agents-BaseProtection-AllAgentUsers-AllResources-RequireCompliantDevice policy requires a compliant device for all agent users across every resource. Where an agent operates on behalf of a user from a device, this makes sure that device is managed and healthy before anything is allowed through. It brings agents in line with the same base protection you would expect for a human user, so the arrival of AI agents does not become a convenient way around your device compliance standards.

Policy conditions

Users
All agent users
Apps
All cloud apps

JSON template

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies/$entity",
  "templateId": null,
  "displayName": "CA503-Agents-BaseProtection-AllAgentUsers-AllResources-RequireCompliantDevice",
  "modifiedDateTime": null,
  "state": "enabledForReportingButNotEnforced",
  "deletedDateTime": null,
  "partialEnablementStrategy": null,
  "sessionControls": null,
  "conditions": {
    "userRiskLevels": [],
    "signInRiskLevels": [],
    "clientAppTypes": [
      "all"
    ],
    "platforms": null,
    "locations": null,
    "times": null,
    "deviceStates": null,
    "devices": null,
    "clientApplications": null,
    "applications": {
      "includeApplications": [
        "All"
      ],
      "excludeApplications": [],
      "includeUserActions": [],
      "includeAuthenticationContextClassReferences": [],
      "applicationFilter": null
    },
    "users": {
      "includeUsers": [
        "None"
      ],
      "excludeUsers": [],
      "includeGroups": [],
      "excludeGroups": [],
      "includeRoles": [],
      "excludeRoles": [],
      "includeGuestsOrExternalUsers": null,
      "excludeGuestsOrExternalUsers": null
    },
    "agents": {
      "includeAgentUsers": [
        "All"
      ],
      "excludeAgentUsers": [],
      "agentFilter": null
    }
  },
  "grantControls": {
    "operator": "OR",
    "builtInControls": [
      "compliantDevice"
    ],
    "customAuthenticationFactors": [],
    "termsOfUse": [],
    "authenticationStrength@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies('a422a681-dd29-4aa5-8e9e-8d77a94cb632')/grantControls/authenticationStrength/$entity",
    "authenticationStrength": null
  },
  "summary": "The CA503-Agents-BaseProtection-AllAgentUsers-AllResources-RequireCompliantDevice policy requires a compliant device for all agent users across every resource. Where an agent operates on behalf of a user from a device, this makes sure that device is managed and healthy before anything is allowed through. It brings agents in line with the same base protection you would expect for a human user, so the arrival of AI agents does not become a convenient way around your device compliance standards."
}