Session Control
CA005-Global-DataProtection-Office365-iOSenAndroid-ClientApps-Unmanaged-AppEnforcedRestrictions
App-enforced restrictions
About this policy
The CA005-Global-DataProtection-Office365-iOSenAndroid-ClientApps-Unmanaged-AppEnforcedRestrictions policy looks after Office 365 data on unmanaged iOS and Android devices. A device filter picks out anything that is not a compliant, company owned device, and access is then only granted through an approved client app with app protection in place, alongside app enforced restrictions for the session. Staff can still work from a personal phone, but corporate data stays wrapped inside protected apps rather than roaming free on the device.
Policy conditions
JSON template
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies/$entity",
"@odata.type": "#microsoft.graph.conditionalAccessPolicy",
"@odata.id": "identity/conditionalAccess/policies('4192875f-8b4c-4bc6-b797-f7629f71c709')",
"@odata.editLink": "identity/conditionalAccess/policies('4192875f-8b4c-4bc6-b797-f7629f71c709')",
"templateId": null,
"displayName": "CA005-Global-DataProtection-Office365-iOSenAndroid-ClientApps-Unmanaged-AppEnforcedRestrictions",
"createdDateTime@odata.type": "#DateTimeOffset",
"modifiedDateTime@odata.type": "#DateTimeOffset",
"state@odata.type": "#microsoft.graph.conditionalAccessPolicyState",
"state": "enabled",
"deletedDateTime": null,
"partialEnablementStrategy": 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": [
"browser",
"mobileAppsAndDesktopClients"
],
"locations": null,
"times": null,
"deviceStates": null,
"clientApplications": null,
"agents": null,
"applications": {
"@odata.type": "#microsoft.graph.conditionalAccessApplications",
"includeApplications@odata.type": "#Collection(String)",
"includeApplications": [
"Office365"
],
"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",
"20cd89e3-25e2-4fcd-82c5-de666dfd31a4"
],
"includeRoles@odata.type": "#Collection(String)",
"includeRoles": [],
"excludeRoles@odata.type": "#Collection(String)",
"excludeRoles": [],
"includeGuestsOrExternalUsers": null,
"excludeGuestsOrExternalUsers": null
},
"platforms": {
"@odata.type": "#microsoft.graph.conditionalAccessPlatforms",
"includePlatforms@odata.type": "#Collection(microsoft.graph.conditionalAccessDevicePlatform)",
"includePlatforms": [
"android",
"iOS"
],
"excludePlatforms@odata.type": "#Collection(microsoft.graph.conditionalAccessDevicePlatform)",
"excludePlatforms": []
},
"devices": {
"@odata.type": "#microsoft.graph.conditionalAccessDevices",
"includeDeviceStates@odata.type": "#Collection(String)",
"includeDeviceStates": [],
"excludeDeviceStates@odata.type": "#Collection(String)",
"excludeDeviceStates": [],
"includeDevices@odata.type": "#Collection(String)",
"includeDevices": [],
"excludeDevices@odata.type": "#Collection(String)",
"excludeDevices": [],
"deviceFilter": {
"@odata.type": "#microsoft.graph.conditionalAccessFilter",
"mode@odata.type": "#microsoft.graph.filterMode",
"mode": "exclude",
"rule": "device.isCompliant -eq True -and device.deviceOwnership -eq \"Company\""
}
}
},
"grantControls": {
"@odata.type": "#microsoft.graph.conditionalAccessGrantControls",
"operator": "OR",
"builtInControls@odata.type": "#Collection(microsoft.graph.conditionalAccessGrantControl)",
"builtInControls": [
"compliantApplication"
],
"customAuthenticationFactors@odata.type": "#Collection(String)",
"customAuthenticationFactors": [],
"termsOfUse@odata.type": "#Collection(String)",
"termsOfUse": [],
"authenticationStrength@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies('4192875f-8b4c-4bc6-b797-f7629f71c709')/grantControls/authenticationStrength/$entity",
"authenticationStrength@odata.associationLink": "https://graph.microsoft.com/beta/identity/conditionalAccess/policies('4192875f-8b4c-4bc6-b797-f7629f71c709')/grantControls/authenticationStrength/$ref",
"authenticationStrength@odata.navigationLink": "https://graph.microsoft.com/beta/identity/conditionalAccess/policies('4192875f-8b4c-4bc6-b797-f7629f71c709')/grantControls/authenticationStrength",
"authenticationStrength": null
},
"sessionControls": {
"@odata.type": "#microsoft.graph.conditionalAccessSessionControls",
"disableResilienceDefaults": null,
"cloudAppSecurity": null,
"signInFrequency": null,
"persistentBrowser": null,
"continuousAccessEvaluation": null,
"secureSignInSession": null,
"applicationEnforcedRestrictions": {
"@odata.type": "#microsoft.graph.applicationEnforcedRestrictionsSessionControl",
"isEnabled": true
}
},
"#microsoft.graph.restore": {
"title": "microsoft.graph.restore",
"target": "https://graph.microsoft.com/beta/identity/conditionalAccess/policies('4192875f-8b4c-4bc6-b797-f7629f71c709')/microsoft.graph.restore"
},
"Tag": "jv-CAF-2026.2.1",
"summary": "The CA005-Global-DataProtection-Office365-iOSenAndroid-ClientApps-Unmanaged-AppEnforcedRestrictions policy looks after Office 365 data on unmanaged iOS and Android devices. A device filter picks out anything that is not a compliant, company owned device, and access is then only granted through an approved client app with app protection in place, alongside app enforced restrictions for the session. Staff can still work from a personal phone, but corporate data stays wrapped inside protected apps rather than roaming free on the device."
}