CAPolicies
Block

CA002-Global-IdentityProtection-AnyApp-AnyPlatform-Block-LegacyAuthentication

Block access

About this policy

The CA002-Global-IdentityProtection-AnyApp-AnyPlatform-Block-LegacyAuthentication policy blocks legacy authentication for all users across every cloud app. It targets Exchange ActiveSync and other older clients that rely on protocols such as POP, IMAP and SMTP AUTH, none of which can perform MFA. Attackers love these protocols for password spray attacks, so shutting them off is a quick win. Just check your sign-in logs for any old devices or scripts still using them before you switch it on.

Policy conditions

Users
All users
Apps
All cloud apps

JSON template

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies/$entity",
  "@odata.type": "#microsoft.graph.conditionalAccessPolicy",
  "@odata.id": "identity/conditionalAccess/policies('c1acdef5-cfc8-470b-a7db-1f71ba4be1fb')",
  "@odata.editLink": "identity/conditionalAccess/policies('c1acdef5-cfc8-470b-a7db-1f71ba4be1fb')",
  "templateId": "0b2282f9-2862-4178-88b5-d79340b36cb8",
  "displayName": "CA002-Global-IdentityProtection-AnyApp-AnyPlatform-Block-LegacyAuthentication",
  "createdDateTime@odata.type": "#DateTimeOffset",
  "modifiedDateTime@odata.type": "#DateTimeOffset",
  "state@odata.type": "#microsoft.graph.conditionalAccessPolicyState",
  "state": "enabled",
  "deletedDateTime": null,
  "partialEnablementStrategy": null,
  "sessionControls": null,
  "conditions": {
    "@odata.type": "#microsoft.graph.conditionalAccessConditionSet",
    "userRiskLevels@odata.type": "#Collection(microsoft.graph.riskLevel)",
    "userRiskLevels": [],
    "signInRiskLevels@odata.type": "#Collection(microsoft.graph.riskLevel)",
    "signInRiskLevels": [],
    "clientAppTypes@odata.type": "#Collection(microsoft.graph.conditionalAccessClientApp)",
    "clientAppTypes": [
      "exchangeActiveSync",
      "other"
    ],
    "platforms": null,
    "locations": null,
    "times": null,
    "deviceStates": null,
    "devices": null,
    "clientApplications": null,
    "agents": null,
    "applications": {
      "@odata.type": "#microsoft.graph.conditionalAccessApplications",
      "includeApplications@odata.type": "#Collection(String)",
      "includeApplications": [
        "All"
      ],
      "excludeApplications@odata.type": "#Collection(String)",
      "excludeApplications": [],
      "includeUserActions@odata.type": "#Collection(String)",
      "includeUserActions": [],
      "includeAuthenticationContextClassReferences@odata.type": "#Collection(String)",
      "includeAuthenticationContextClassReferences": [],
      "applicationFilter": null
    },
    "users": {
      "@odata.type": "#microsoft.graph.conditionalAccessUsers",
      "includeUsers@odata.type": "#Collection(String)",
      "includeUsers": [
        "All"
      ],
      "excludeUsers@odata.type": "#Collection(String)",
      "excludeUsers": [],
      "includeGroups@odata.type": "#Collection(String)",
      "includeGroups": [],
      "excludeGroups@odata.type": "#Collection(String)",
      "excludeGroups": [
        "2802b872-ccfb-4b29-a9a9-459808dfb11b",
        "8861a932-f1d1-4d1d-a5e6-cdce20fada27"
      ],
      "includeRoles@odata.type": "#Collection(String)",
      "includeRoles": [],
      "excludeRoles@odata.type": "#Collection(String)",
      "excludeRoles": [],
      "includeGuestsOrExternalUsers": null,
      "excludeGuestsOrExternalUsers": null
    }
  },
  "grantControls": {
    "@odata.type": "#microsoft.graph.conditionalAccessGrantControls",
    "operator": "OR",
    "builtInControls@odata.type": "#Collection(microsoft.graph.conditionalAccessGrantControl)",
    "builtInControls": [
      "block"
    ],
    "customAuthenticationFactors@odata.type": "#Collection(String)",
    "customAuthenticationFactors": [],
    "termsOfUse@odata.type": "#Collection(String)",
    "termsOfUse": [],
    "authenticationStrength@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies('c1acdef5-cfc8-470b-a7db-1f71ba4be1fb')/grantControls/authenticationStrength/$entity",
    "authenticationStrength@odata.associationLink": "https://graph.microsoft.com/beta/identity/conditionalAccess/policies('c1acdef5-cfc8-470b-a7db-1f71ba4be1fb')/grantControls/authenticationStrength/$ref",
    "authenticationStrength@odata.navigationLink": "https://graph.microsoft.com/beta/identity/conditionalAccess/policies('c1acdef5-cfc8-470b-a7db-1f71ba4be1fb')/grantControls/authenticationStrength",
    "authenticationStrength": null
  },
  "#microsoft.graph.restore": {
    "title": "microsoft.graph.restore",
    "target": "https://graph.microsoft.com/beta/identity/conditionalAccess/policies('c1acdef5-cfc8-470b-a7db-1f71ba4be1fb')/microsoft.graph.restore"
  },
  "Tag": "jv-CAF-2026.2.1",
  "summary": "The CA002-Global-IdentityProtection-AnyApp-AnyPlatform-Block-LegacyAuthentication policy blocks legacy authentication for all users across every cloud app. It targets Exchange ActiveSync and other older clients that rely on protocols such as POP, IMAP and SMTP AUTH, none of which can perform MFA. Attackers love these protocols for password spray attacks, so shutting them off is a quick win. Just check your sign-in logs for any old devices or scripts still using them before you switch it on."
}