Skip to content
CBT Nuggets
DemoBook a Demo

Securing Azure AD Identities

This skill covers securing Azure AD identities by demonstrating how to manage user accounts, directory groups, and implement identity protection. It includes creating and managing Azure AD user accounts through the Azure portal, Microsoft 365 Admin Center, and PowerShell. Additionally, it explores bulk operations for user accounts and the creation of different types of groups. The skill also delves into Azure AD Identity Protection, using machine learning to detect and mitigate risky activities, and setting up policies to enhance security.

Full skill from AZ-500. Preview the training IT teams trust.

Updated

49m

Skill 1 of 34 in AZ-500

What you'll learn

  • Identify the three Azure AD user types and the Global Administrator or User Administrator role required to create user accounts
  • Explain why a user account needs a usage location before licenses can be assigned to it
  • Create Azure AD user accounts with PowerShell from Azure Cloud Shell
  • Bulk create Azure AD user accounts by editing and uploading the downloadable CSV template
  • Compare assigned and dynamic Azure AD groups and validate a dynamic membership rule such as jobTitle equals Engineer
  • Configure an Identity Protection user risk policy with user assignments, exclusions, and a risk level threshold such as medium and above

Free 49-minute video lesson with a full transcript and knowledge checks. No account needed to watch.

PLEASE NOTE: Since the creation of this training, Microsoft has renamed Azure Active Directory to Microsoft Entra ID. While the functionality is the same, the exam will only reference Microsoft Entra ID.

Overview

Join Bob Salmans as he demonstrates how to secure Azure AD user accounts and directory groups within Azure AD. We'll also look at how to implement Azure AD Identity protection.

Recommended Experience

  • 1 to 2 years of devops or cloud experience

Related Job Functions

  • Cloud Engineer
  • Solutions Architect
  • DevOps Engineer

When it comes to cybersecurity, you’d be hard pressed to find an instructor with the experience and knowledge that Bob Salmans brings to his training.

Azure AD Accounts

In this nugget, we're focusing on Azure AD user accounts along with the different types of accounts and a couple different ways to create them.

Video unavailable

Knowledge Check

Which of the following options are valid Azure AD user account types? (Choose three)

Select all that apply.

Creating Azure AD Users Using PowerShell

In this nugget, we're taking a look at how to create Azure AD users with PowerShell.

Video unavailable

Knowledge Check

In this nugget we used a variable to represent the password when we passed in the command to create a new Azure AD user. True or False?

Bulk Create and Delete Azure AD User Accounts

In this nugget, we're finding out how to perform bulk create and delete of Azure AD user accounts.

Video unavailable

Knowledge Check

In the Azure AD portal, which of the following bulk options can you not do?

Creating Azure AD Groups

In this nugget, we're taking a look at the four different types of groups available and how to create them.

Video unavailable

Knowledge Check

If you create a dynamic group you must manually add users to that group. True or False?

Azure AD Identity Protection

In this nugget, we discuss Azure AD Identity Protection and how to use it.

Video unavailable

Knowledge Check

Azure AD Identity Protection uses ML and AI to identify risky user activities. True or False?

Implementing Azure AD Identity Protection Policies

In this nugget, we're going to look at creating some different policies within Azure AD Identity Protection to help us address risk user account activities.

Knowledge Check

Using Azure AD Identity Protection policies, you can force users to change their passwords and/or use MFA when signing in. True or False?

Conclusion

I hope this has been informative for you and I would like to thank you for consuming.

View Transcript

Implementing Azure AD Identity Protection Policies

0:06Now that we know what is Azure AD Identity Protection is and how it uses intelligence to let us know about risky activities so that we can make decisions, well, it's time to take a look at the policies that we can use with Azure AD Identity Protection to make some things happen. So let's get started. All right, here we go. We're in our NuggetLabs Azure Active Directory. We're going to create some Azure Identity Protection policies. We're going to take that intelligence that we have from our machine learning, those signals, and we're going to put policies into play.

0:39So let's do that. Let's go on down here to Security, and we'll let that load up. Then we're going to go up here to Identity Protection. All right, there we go. Here's some nice data. Oh, what's going on here? We've got some graphs, we've got this here. What is this? User risk policy, user risk policy. If I scroll down here, new risky sign ins detected. Hey, look at there. So if I were to click on one of these, let's do this here. Click on that, it's going to go in here. And I'd have to go in here to remediate it, and I'll show you why.

1:13There we go. There's our logins. Those are risky logins of recent. And you'll see this is-- there's the Tokyo and Germany and Australia, those are all in there. So that's going with. Let's go back to Identity Protection, but we get some nice graphs anyways. So those reports, risky users, risky sign ins, the risk detections that we just looked at in the last Nugget, they're right in here as well. Now, what I want to talk about are these three up here. Pretty good stuff, let me tell you. Starting off with user risk policy.

1:44So let's click on that. It's going to open this up. Policy name, user risk remediation policy. OK. So the assignment, users. I have this set to all users. Now, you don't have to. You could say selected users, or all users and then exclude specific users if you wanted to. So maybe I don't want the admins to fall into this or maybe certain C-level execs, I don't want to fall into this. Whatever it might be. But right now I have all users. Then we come down to user risk. This is the user risk score.

2:15You get to select as part of this policy that who do you want this to apply to? All users with medium and above is what it's set to, or it could be just high or could be low and above. But if they're at that risk level, and, again, it depends on the activities that are going on. If they have a risk level that matches this, they're going to fall into this policy. So what's going to happen? This is the controls. What's going to happen if they fall into this policy? Well, right now, if I click on here, it's set to allow access, require password change.

2:46And that's what we could choose. Or you could just say block access. So if this user has a high risk level, we're just going to block them completely. Well, that can turn into a problem. Require password change is probably pretty good. So let's start with that and kind of see where it goes. Then we're going to say, Done. And this is a policy error they had in place. And it was enforced, and that's why, let me bring this in again, that's why I got this password change notification this morning after those logins from all over the place.

3:17And, by the way, I did those yesterday using a VPN. So I just connected to the different countries and logged in. It wasn't really malicious. So don't worry too much. But it's a good way to test to make sure that your policies are functioning properly. So that was our user risk policy. Now, quick reminder, user risk relates to a specific user's credentials like leak credentials or attack patterns targeting specific credentials. This would be really better renamed probably as like credential risk policy. But that's what it is.

3:48Then we have sign in risk policy. And it looks very much the same. And the sign in risk policy, again, this helps identify malicious login attempts that aren't from the actual user, like from an anonymous IP address or an IP address associated with malicious activities or the impossible travel we talked about. But the idea here is if it falls in that risk category, then we want to do something. So right now, it's set to all users. You can, of course, go ahead and exclude or do just a specific group, like an admin group or something.

4:20So we'll leave it at All Users, put they're sign-in risk. You want high, medium and above or low and above, you get to select that, of course. And then down here for controls, you could either block access or allow access and require multifactor authentication so that you sign in. So there we go. So the sign-in we require MFA because it's actually signing in the risk policy. We see a target going on against a specific user, so we want them to reset their password. So that's our options right there, and that's, of course, is turned on.

4:52There we go. And one more policy I want to talk about MFA registration policy. So within our MFA registration policy here, this is designed to help push out MFA to your selected users. Right now it's to all users here, but you can do selected individual users. So if you put your per user MFA only to a handful of users, you create a group, put them in there, and you could do that by group. So there's that. So we just went with all users. And then your controls down here requires Azure AD MFA registration. So what we're doing is we are requiring them to go ahead and set this up.

5:26So at our user's next login through a browser, they will be prompted to go ahead and sign up for MFA. However, they will have an option to bypass this for 14 days. But after 14 days, the next time they log in, it will be mandatory that they sign up. So you can set up this MFA registration policy. Now, I want to talk about something that I had to run into. And it's dealing with these policies here. And the idea that if a user here matches one of these, all right?

5:59Maybe they had a high risk or something. Think about what causes that risk. Because if they can't log in because of a high risk, what we need to do is reduce that risk. And how can we reduce the risk? Well, if you do certain things like reset your password, that reduces your risk. So for instance, if you were locked out for a certain reason because of a high risk, try resetting your password and then waiting 15 or 20 minutes, and that should reduce your risk and you should be able to sign in at that point. Just depending on what's going on, of course.

6:29But that is something that I found along the way that, you know sometimes, you just need to wait and reduce your risk of your account so you can get back in or something like that. OK? So that's just a little bit of wisdom from the trenches. I hope this has been informative for you, and I'd like to thank you for viewing.

Frequently asked questions

What does the Securing Azure AD Identities lesson cover?

The lesson covers the three Azure AD user types and the Global Administrator or User Administrator role needed to create accounts. It then shows how to create users with PowerShell from Azure Cloud Shell, bulk create users from the downloadable CSV template, compare assigned and dynamic groups, and configure an Identity Protection user risk policy.

How long is the Securing Azure AD Identities lesson and how does it fit the AZ-500 course?

The lesson runs 49 minutes and is one of 34 skills in the Microsoft Certified: Azure Security Engineer Associate (AZ-500) course, which plans for roughly 33 hours per learner. Team Leads can sequence identity and Entra permissions first, then move the team on to network security, SQL and storage protection, containers and AKS, and Defender for Cloud and Microsoft Sentinel.

Why does an Azure AD user need a usage location before you can assign licenses?

If an account has no usage location, assigning it a license returns an error, and you must go back to the account, set the location, and then assign licensing. The lesson shows where to set usage location both when creating a single user and when filling out the bulk-create CSV template.

What is the difference between assigned and dynamic groups in Azure AD?

With an assigned group, the owner manually selects each member, which is a manual process. A dynamic group uses a membership rule instead, and the lesson shows how to validate a rule such as jobTitle equals Engineer against specific users to confirm who is and is not included.

How do you configure an Azure AD Identity Protection user risk policy?

Identity Protection uses machine learning to flag risky users and risky sign-ins, and the user risk policy lets you assign it to all users or selected users and exclude accounts such as admins or executives. You then set the user risk threshold to low and above, medium and above, or high, and the trainer notes that a password reset followed by a short wait can reduce a user's risk.

How can a Training Manager assign and track this lesson for an Azure security team?

A Training Manager can use Playlists to assign this identity lesson by operational responsibility and Team Reporting to track per-learner progress and completion, including completion exports for audit evidence. Practice Exams support AZ-500 readiness, and virtual labs, where available, reinforce hands-on configuration practice.

Team training path

Turn this skill into assignable team training

This free skill is a preview of the courses your team can assign, track, and report on with CBT Nuggets.

What's next?

Ready to keep going?

For your team

Bring this training to your team

See how CBT Nuggets helps IT teams close skills gaps, hit compliance targets, and prove training ROI.

Book a Demo
Just need AZ-500?

Learning on your own? Browse individual plans ($49/month, billed annually) →

Not ready to buy?
with no purchase required. Already have an account?
Book a Demo