Block
CIS - Block untrusted locations
Block access
About this policy
The CIS - Block untrusted locations policy prevents all users from accessing any cloud app unless they are signing in from a location defined as trusted in your tenant. It includes all locations and excludes only the AllTrusted set, so any network not explicitly marked as trusted is blocked. This is a strong perimeter control, but it does require that your named trusted locations are properly configured before you enable it.
Policy conditions
JSON template
{
"templateId": null,
"displayName": "CIS - Block untrusted locations",
"modifiedDateTime": null,
"state": "enabledForReportingButNotEnforced",
"deletedDateTime": null,
"partialEnablementStrategy": null,
"sessionControls": null,
"conditions": {
"userRiskLevels": [],
"signInRiskLevels": [],
"clientAppTypes": [
"all"
],
"platforms": null,
"times": null,
"deviceStates": null,
"devices": null,
"clientApplications": null,
"agents": null,
"applications": {
"includeApplications": [
"All"
],
"excludeApplications": [],
"includeUserActions": [],
"includeAuthenticationContextClassReferences": [],
"applicationFilter": null
},
"users": {
"includeUsers": [
"All"
],
"excludeUsers": [],
"includeGroups": [],
"excludeGroups": [],
"includeRoles": [],
"excludeRoles": [],
"includeGuestsOrExternalUsers": null,
"excludeGuestsOrExternalUsers": null
},
"locations": {
"includeLocations": [
"All"
],
"excludeLocations": [
"AllTrusted"
]
}
},
"grantControls": {
"operator": "OR",
"builtInControls": [
"block"
],
"customAuthenticationFactors": [],
"termsOfUse": [],
"authenticationStrength@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/conditionalAccess/policies('48fb010e-de96-4603-a562-e6f42cf6e3ea')/grantControls/authenticationStrength/$entity",
"authenticationStrength": null
},
"Tag": "CIS",
"summary": "The CIS - Block untrusted locations policy prevents all users from accessing any cloud app unless they are signing in from a location defined as trusted in your tenant. It includes all locations and excludes only the AllTrusted set, so any network not explicitly marked as trusted is blocked. This is a strong perimeter control, but it does require that your named trusted locations are properly configured before you enable it."
}