Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Exam Ref AZ-104 Microsoft Azure Administrator Certification and Beyond

You're reading from   Exam Ref AZ-104 Microsoft Azure Administrator Certification and Beyond A pragmatic guide to achieving the Azure administration certification

Arrow left icon
Product type Paperback
Published in Jul 2022
Publisher Packt
ISBN-13 9781801819541
Length 776 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Donovan Kelly Donovan Kelly
Author Profile Icon Donovan Kelly
Donovan Kelly
Riaan Lowe Riaan Lowe
Author Profile Icon Riaan Lowe
Riaan Lowe
Arrow right icon
View More author details
Toc

Table of Contents (30) Chapters Close

Preface 1. Part 1: Managing Azure Identities and Governance
2. Chapter 1: Managing Azure Active Directory Objects FREE CHAPTER 3. Chapter 2: Managing Role-Based Access Control 4. Chapter 3: Creating and Managing Governance 5. Chapter 4: Managing Governance and Costs 6. Chapter 5: Practice Labs – Managing Azure Identities and Governance 7. Part 2: Implementing and Managing Storage
8. Chapter 6: Understanding and Managing Storage 9. Chapter 7: Securing Storage 10. Chapter 8: Practice Labs – Implementing and Managing Storage 11. Part 3: Deploying and Managing Azure Compute Resources
12. Chapter 9: Automating VM Deployments Using ARM Templates 13. Chapter 10: Configuring Virtual Machines 14. Chapter 11: Creating and Configuring Containers 15. Chapter 12: Creating and Configuring App Services 16. Chapter 13: Practice Labs – Deploying and Managing Azure Compute Resources 17. Part 4: Configuring and Managing Virtual Networking
18. Chapter 14: Implementing and Managing Virtual Networking 19. Chapter 15: Securing Access to Virtual Networks 20. Chapter 16: Configuring Load Balancing 21. Chapter 17: Integrating On-Premises Networks with Azure 22. Chapter 18: Monitoring and Troubleshooting Virtual Networking 23. Chapter 19: Practice Labs – Configuring and Managing Virtual Networking 24. Part 5: Monitoring and Backing Up Azure Resources
25. Chapter 20: Monitoring Resources with Azure Monitor 26. Chapter 21: Implementing Backup and Recovery Solutions 27. Chapter 22: Practice Labs – Monitoring and Backing Up Azure Resources 28. Chapter 23: Mockup Test Questions and Answers 29. Other Books You May Enjoy

Creating Azure AD users and groups

Azure AD offers a directory and identity management solution within the cloud. It offers traditional username and password identity management, alongside roles and permissions management. On top of that, it offers more enterprise-grade solutions, such as Multi-Factor Authentication (MFA) and application monitoring, solution monitoring, and alerting.

Azure AD can easily be integrated with your on-premises Active Directory to create a hybrid infrastructure.

Azure AD offers the following pricing plans:

  • Free: This offers the most basic features, such as support for single sign-on (SSO) across Azure, Microsoft 365, and other popular SaaS applications, Azure Business-to-Business (B2B) for external users, support for Azure AD Connect synchronization, self-service password change, user and group management, and standard security reports.
  • Office 365 Apps: Specific Office 365 subscriptions also provide some functionality such as user and group management, cloud authentication, including pass-through authentication, password hash synchronization, seamless SSO, and more.
  • Premium P1: This offers advanced reporting, MFA, Conditional Access, Mobile Device Management (MDM) auto-enrollment, Azure AD Connect Health, advanced administration such as dynamic groups, self-service group management, and Microsoft Identity Manager.
  • Premium P2: In addition to the Free and Premium P1 features, the Premium P2 license includes Azure AD Identity Protection, Privileged Identity Management, access reviews, and entitlement management.

    Note

    For a detailed overview of the different Azure AD licenses and all the features that are offered in each plan, you can refer to https://www.microsoft.com/nl-nl/security/business/identity-access-management/azure-ad-pricing?rtc=1&market=nl.

Creating users in Azure AD

We will begin by creating a couple of users in our Azure AD tenant from the Azure portal. To do this, perform the following steps:

  1. Navigate to the Azure portal by opening a web browser and browsing to https://portal.azure.com.
  2. In the left-hand menu, select Azure Active Directory.
  3. Under the Manage blade of Azure AD in the left-hand menu, select Users | All users. Then, select the + New user option from the top-level menu, as follows:
Figure 1.1 – The Azure AD Users blade

Figure 1.1 – The Azure AD Users blade

  1. We are going to create three users. Add these values that are shown in the following screenshot:
    • Name: PacktUser1.
    • User name: The username is the identifier that the user enters to sign in to Azure AD. Select your domain name, which has been configured, and add this to the end of the username. The default is usually an onmicrosoft.com domain, but in my case, I have assigned a custom domain name, called safezone.fun. In the First name section, I have chosen Packt, and in the Last name section, I have added User1. Therefore, the User name value, in my case, will be PacktUser1@safezone.fun:
Figure 1.2 – The Azure AD user creation page part 1

Figure 1.2 – The Azure AD user creation page part 1

  1. Leave the sections under Groups and Roles in their default settings for now.
  2. Next, we need to fill in information regarding the following:
    • Block sign in: No
    • Usage location: South Africa
    • Job title: Azure administrator
    • Department: IT
    • Company name: Packt1
    • Manager: No manager selected:
Figure 1.3 – The Azure AD user creation page part 2

Figure 1.3 – The Azure AD user creation page part 2

  1. Click on Create.
  2. Repeat these steps to create two more users: PacktUser2 and PacktUser3.

Now that we have created users in our Azure AD tenant, we can add them to a group in Azure AD.

Creating groups in Azure AD

There are two main group types, as follows:

  • Security groups: These groups serve the same function as traditional on-premises groups, which is to secure objects within a directory. In this case, it is to secure objects within Azure AD.
  • Microsoft 365 groups: These groups are used to provide a group of people access to a collection of shared resources that is not just limited to Azure AD but also includes shared mailboxes, calendars, SharePoint libraries, and other Microsoft 365-related services.

Security groups are used as container units to group users or devices together. There are three main membership types for security groups:

  • Assigned: This is where you manually assign users to a group.
  • Dynamic user: This is where you can specify parameters to automatically group users, for example, grouping all users who have the same job title.
  • Dynamic device: This is where you can specify parameters to automatically group devices, for example, grouping all devices that have the same operating system version.

To create and manage groups from the Azure AD tenant in the Azure portal, you have to perform the following steps:

  1. Navigate to the Azure portal by opening a web browser and browsing to https://portal.azure.com.
  2. In the left-hand menu, select Azure Active Directory.
  3. Under the Manage blade of Azure AD in the left-hand menu, select Groups | All groups. Then, select the + New group option from the top-level menu, as follows:
Figure 1.4 – The Azure AD group creation page part 1

Figure 1.4 – The Azure AD group creation page part 1

  1. Add the following values to create the new group:
    • Group type: Security
    • Group name: Azure Admins
    • Group description: Dynamic group for all Azure Admins
    • Azure AD roles can be assigned to the group: No
    • Membership type: Dynamic User
    • Owners: No owners selected:
Figure 1.5 – The Azure AD group creation page part 2

Figure 1.5 – The Azure AD group creation page part 2

  1. Refer to the following screenshot to add a dynamic query.

For the Dynamic Query rule, the property is jobTitle, the operator is Equals, and the value is Azure administrator, as shown in the following screenshot:

Figure 1.6 – The Azure AD group dynamic query

Figure 1.6 – The Azure AD group dynamic query

  1. Click on Create.

    Tip

    Remember that when using dynamic groups, a Premium P1 license needs to be assigned to the user.

Now that we have created the group, replication takes around 5 minutes. Refresh the Azure web page, and the users will appear as members of the Azure admins group that we just created:

Figure 1.7 – The Azure AD group's dynamic group users added automatically 
based on the membership rules

Figure 1.7 – The Azure AD group's dynamic group users added automatically based on the membership rules

In this section, we took a look at Azure AD users and groups and created a few accounts. We also created a dynamic membership group to include users via dynamic membership rules.

We encourage students to read up further by using the following links, which are based on Azure AD fundamentals such as adding users in Azure AD, assigning RBAC roles, creating Azure AD groups, and also creating dynamic groups in Azure AD:

Next, we are going to look at Azure AUs, specifically where they can be used and how to create an AU.

You have been reading a chapter from
Exam Ref AZ-104 Microsoft Azure Administrator Certification and Beyond - Second Edition
Published in: Jul 2022
Publisher: Packt
ISBN-13: 9781801819541
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image