0
0
Azurecloud~30 mins

Multi-factor authentication in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Enable Multi-factor Authentication in Azure
📖 Scenario: You are an IT administrator for a small company. You want to improve security by requiring users to verify their identity with a second step when signing in. This is called Multi-factor Authentication (MFA). You will configure MFA settings in Azure Active Directory.
🎯 Goal: Set up Multi-factor Authentication in Azure by creating a conditional access policy that requires MFA for all users when accessing cloud apps.
📋 What You'll Learn
Create a conditional access policy named RequireMFA
Target all users in the policy
Apply the policy to all cloud applications
Require multi-factor authentication as the access control
💡 Why This Matters
🌍 Real World
Multi-factor authentication helps protect company data by adding a second step to user sign-in, reducing the risk of unauthorized access.
💼 Career
IT administrators and cloud engineers often configure conditional access policies to enforce security standards in organizations.
Progress0 / 4 steps
1
Create the conditional access policy dictionary
Create a dictionary called conditional_access_policy with the key name set to 'RequireMFA' and the key state set to 'enabled'.
Azure
Need a hint?

Use a Python dictionary with keys 'name' and 'state'.

2
Add user and application targets
Add the keys users and applications to conditional_access_policy. Set users to a dictionary with key include and value a list containing the string 'AllUsers'. Set applications to a dictionary with key include and value a list containing the string 'AllCloudApps'.
Azure
Need a hint?

Use nested dictionaries for 'users' and 'applications' keys.

3
Add access controls to require MFA
Add the key grantControls to conditional_access_policy. Set it to a dictionary with key operator set to 'OR' and key builtInControls set to a list containing the string 'mfa'.
Azure
Need a hint?

Use a dictionary with keys 'operator' and 'builtInControls' for grantControls.

4
Complete the policy with session controls
Add the key sessionControls to conditional_access_policy and set it to an empty dictionary {} to complete the policy structure.
Azure
Need a hint?

Set 'sessionControls' to an empty dictionary to finish the policy.