Justin's Blog

MS102_Lab5_Assignment.docx

MS-102 Lab 5 - Conditional Access Policies

Published: May 02, 2026

Overview

This lab focuses on configuring Conditional Access policies in Microsoft Entra ID to control how users access resources. It replaces basic protections like Security Defaults with more flexible and targeted security controls.

Before You Start

Objective

Manage access in Microsoft 365 where:

Requirements

Devices / Tools

Tasks

Task 1 - Explore Conditional Access

Go to:

Review:

What is Conditional Access?

Conditional Access is a policy-based system that applies controls such as MFA or blocking access based on specific conditions like user, location, or device.

Where are Conditional Access policies managed?

Conditional Access policies are managed under Entra ID > Protection > Conditional Access.

Conditional Access overview in Entra ID

Task 2 - Disable Security Defaults

Go to:

Why must Security Defaults be disabled before using Conditional Access?

Security Defaults must be disabled because they conflict with Conditional Access, as both control authentication and access policies.

Task 3 - Create a Conditional Access Policy

Create a new policy:

Assignments:

Access controls:

Enable policy:

Conditional Access policy requiring MFA for HR Team

Task 4 - Test the Policy

Log in as Alice:

What happens during login?

The user is prompted to complete MFA verification during login.

Is MFA required now through policy?

MFA is now required for users in the HR Team through the Conditional Access policy.

Task 5 - Create a Location-Based Policy

Go to:

Create:

Trusted Country named location in Conditional Access

Then create policy:

Go to:

Assignments:

Conditions:

Access controls:

Enable policy:

Conditional Access policy blocking access outside trusted country

Task 6 - Test Location Policy

Attempt login as Bob.

What happens when logging in from outside the trusted location?

The user receives an access blocked message indicating that sign-in is restricted by a Conditional Access policy.

Is access blocked?

Access is blocked when logging in from outside the trusted country.

This demonstrates how Conditional Access can enforce geographic restrictions to prevent unauthorized access from outside trusted regions.

Access blocked by Conditional Access location policy

Task 7 - Verify in Entra ID

Go to:

Check:

Sign-in logs showing Conditional Access status

Knowledge Test

1. What is Conditional Access?

Conditional Access is a policy framework that controls access to resources based on conditions such as user identity, location, device, or risk level.

2. What is the difference between MFA and Conditional Access?

MFA is a security method that requires multiple forms of authentication, while Conditional Access is a policy system that determines when MFA or other controls should be applied.

3. Why is Conditional Access more powerful than Security Defaults?

Conditional Access is more powerful than Security Defaults because it allows granular control, such as applying policies to specific users, groups, locations, or applications.

4. What conditions can be used in Conditional Access policies?

Conditional Access policies can use conditions such as users or groups, locations, devices, client apps, and sign-in risk.

5. What happens if multiple Conditional Access policies apply to a user?

If multiple Conditional Access policies apply to a user, all applicable policies are evaluated and enforced together.

Home