0
0
Azurecloud~30 mins

Users and groups in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Users and Groups Management in Azure
📖 Scenario: You are managing access for a small company using Azure Active Directory. You need to create users and groups to organize employees and assign permissions efficiently.
🎯 Goal: Build an Azure Active Directory setup with specific users and groups, then assign users to groups to prepare for permission management.
📋 What You'll Learn
Create an Azure AD users dictionary with exact usernames and emails
Create an Azure AD groups list with exact group names
Assign users to groups using a dictionary mapping
Add a final configuration to enable group-based access control
💡 Why This Matters
🌍 Real World
Managing users and groups is essential for controlling access to cloud resources securely and efficiently.
💼 Career
Understanding user and group management in Azure is a key skill for cloud administrators and security engineers.
Progress0 / 4 steps
1
Create Azure AD users dictionary
Create a dictionary called azure_ad_users with these exact entries: 'alice': 'alice@example.com', 'bob': 'bob@example.com', and 'carol': 'carol@example.com'.
Azure
Need a hint?

Use a Python dictionary with usernames as keys and emails as values.

2
Create Azure AD groups list
Create a list called azure_ad_groups with these exact group names: 'Admins', 'Developers', and 'HR'.
Azure
Need a hint?

Use a Python list with the exact group names as strings.

3
Assign users to groups
Create a dictionary called group_membership that maps groups to lists of usernames exactly as follows: 'Admins' has ['alice'], 'Developers' has ['bob', 'carol'], and 'HR' has an empty list [].
Azure
Need a hint?

Use a dictionary where keys are group names and values are lists of usernames.

4
Enable group-based access control
Create a boolean variable called enable_group_access_control and set it to True to enable group-based access control.
Azure
Need a hint?

Use a simple boolean variable to enable the feature.