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.
Auditβ
From Azure Portalβ
-
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
. -
Select
Policies
. -
Select the policy you wish to audit, then:
- Under
Assignments
>Users
, review the users and groups for the personnel the policy will apply to. - Under
Assignments
>Target resources
, review the cloud apps or actions for the systems the policy will apply to. - Under
Conditions
>Locations
, Review theInclude
locations for those that should be blocked. - Under
Conditions
>Locations
, Review theExclude
locations for those that should be allowed (Note: locations set up in the previous recommendation for Trusted Location should be in theExclude
list.). - Under
Access Controls
>Grant
- Confirm thatBlock access
is selected.
- Under
From Azure CLIβ
As of this writing there are no subcommands for Conditional Access Policies within the Azure CLI