A cloud-based identity and access management service for securing user authentication and resource access
To block all countries except the US from attempting to log in using Conditional Access in Microsoft Entra, you can follow these steps:
- Sign in to the Microsoft Entra admin center as a Conditional Access Administrator.
- Navigate to Entra ID > Conditional Access > Named locations.
- Create a new named location:
- Choose Countries/Regions as the type of location.
- Name your location (e.g., "Allowed Countries").
- Select United States from the list of countries.
- Create a new Conditional Access policy:
- Go to Policies and select New policy.
- Under Assignments, choose Users and groups to specify who this policy applies to.
- Under Cloud apps or actions, select the applications you want to protect.
- Under Conditions, select Locations and include the named location you created (the US) and exclude all other locations.
- Set the Access controls to Block access for all other countries.
- Enable the policy and monitor its effectiveness.
This setup will ensure that only users attempting to log in from the US can access the specified applications, while all other countries will be blocked.
References: