Conditional Access: Geolocation

In this simulation, you'll experience what it's like to create a conditional access policy that denies user access to any user authenticating to the User Portal from outside the selected country (in this example, United States). Conditional Access Policies are customizable to fit your preferred geolocation requirements.

How it Works

  1. Navigate to Conditional Policies and click the green plus button to create a new policy.
  2. Select User Portal as the resource.
  3. Enter a policy name and description, if desired.
  4. In the Assignments section, click “All Users”.
  5. In the Conditions section, click the “add condition” button.
  6. Click “Location”.
  7. Click the “in country” dropdown.
  8. Click “not in country”.
  9. Click the “Countries” dropdown.
  10. Search for your desired country and click to select it.
  11. Scroll to the Action section.
  12. In the Action section, click “Deny access”.
  13. Click “create policy” to save.
  14. Congrats! All users who aren’t in the United States will be denied access to the User Portal.