π Microsoft Entra ID Conditional Access By Location is not defined π’
- Contextual name: π Conditional Access By Location is not defined π’
- ID:
/ce/ca/azure/microsoft-entra-id/conditional-access-by-location
- Located in: π Microsoft Entra ID
Flagsβ
- π’ Impossible policy
- π’ Policy with categories
- π’ Policy with type
Our Metadataβ
- Policy Type:
BEST_PRACTICE
- Policy Category:
SECURITY
Descriptionβ
Descriptionβ
CAUTION: If these policies are created without first auditing and testing the result, misconfiguration can potentially lock out administrators or create undesired access issues.
Conditional Access Policies can be used to block access from geographic locations that are deemed out-of-scope for your organization or application. The scope and variables for this policy should be carefully examined and defined.
Rationaleβ
Conditional Access, when used as a deny list for the tenant or subscription, is able to prevent ingress or egress of traffic to countries that are outside of the scope of interest (e.g.: customers, suppliers) or jurisdiction of an organization. This is an effective way to prevent unnecessary and long-lasting exposure to international threats such as APTs.
Impactβ
Microsoft Entra ID P1 or P2 is required. Limiting access geographically will deny access to users that are traveling or working remotely in a different part of the world. A point-to-site or site to site tunnel such as a VPN is recommended to address exceptions to geographic access policies.
... see more
Remediationβ
Remediationβ
From Azure Portalβ
Part 1 of 2 - Create the policy and enable it in
Report-only
modeβ
- From Azure Home open the portal menu in the top left, and select
Microsoft Entra ID
.- Scroll down in the menu on the left, and select
Security
.- Select on the left side
Conditional Access
.- Click the
+ New policy
button.- Provide a name for the policy.
- Under
Assignments
, selectUsers or workload identities
then:
- Under
Include
, selectAll users
.- Under
Exclude
, check Users and groups and only select emergency access accounts and service accounts (NOTE: Service accounts are excluded here because service accounts are non-interactive and cannot complete MFA).- Under
Assignments
, selectCloud apps or actions
then:
- Under
Include
, selectAll cloud apps
.- Leave
Exclude
blank unless you have a well defined exception.- Under
Conditions
, selectLocations
then:
- Select
Include
, then add entries for locations for those that should be blocked.- Select
Exclude
, then add entries for those that should be allowed (IMPORTANT: Ensure that all Trusted Locations are in theExclude
list.).... see more
policy.yamlβ
Linked Framework Sectionsβ
Section | Sub Sections | Internal Rules | Policies | Flags |
---|---|---|---|---|
πΌ CIS Azure v2.1.0 β πΌ 1.2.2 Ensure that an exclusionary Geographic Access Policy is considered - Level 1 (Manual) | 1 | |||
πΌ CIS Azure v3.0.0 β πΌ 2.2.2 Ensure that an exclusionary Geographic Access Policy is considered (Manual) | 1 | |||
πΌ Cloudaware Framework β πΌ General Access Controls | 10 |