Time
7 hours 58 minutes
Difficulty
Intermediate
CEU/CPE
9

Video Transcription

00:00
Welcome back here. In this episode, we're going to take some concepts from the last episode and go out to our azure portal to take a look at our back in our demo.
00:08
Our demo objectives include we're gonna review rolls and admin groups were gonna assign roles in admin groups and then also create a custom role inside the azure power shell. Let's jump out to the azure portal.
00:20
Here we are, back in our eyes, your portal. And first I want to go take a look at our admin groups that we talked about in the last episode we go into as your active directory and let's go take a look at Rolls and administrators.
00:33
Here we have all the admin roles that we can use to grant access to our azure active directory and then other Microsoft service is like we mentioned, like an exchange administrator or even an Azure develops administrator. We scroll through here. You'll see all the ones that are available convict pretty granular, such as a conditional access administrator
00:53
or even just a directory reader.
00:56
Like I mentioned, the global reader is a new one. It can read everything that a global admit can do, but it can't make any changes. So what I want to do is let's go into the global administrator role.
01:07
The only counting here right now is myself as the global Edmund. So I want to just assign another goal. Blood men for our tenant.
01:18
And here I have my Jeff admin account, which, if you remember from our azure 80 connect episode, this is actually being secret ized from my own premises. Active directory.
01:27
So there I now have a another global admin role inside of my tenant. Another thing I want to point out here. It's not covered in this exam, but it's definitely some important to know if you're going to be working inside of Azure is the privilege identity management, or Pim? And up here we have an option to manage the global admin role inside of Pim.
01:46
Pimp provides a couple of different options, but one of the things is just in time privileged access,
01:52
meaning if someone needs to be a global admin, but not all the time they can be given the permissions to say, Hey, I need to be a global admin for a little while. They're automatically put into the group after approval, and then they're automatically taken back out so they could just perform their little
02:07
function real quick that they need to. And then they aren't ago. Glad men anymore.
02:13
Let's go back to our roles and administrators,
02:15
and you find yourself in a position where one of these built in roles is not working for you. You can always create a new custom role
02:23
in here. Let's give it a name
02:28
and you can start from scratch or clone from a custom role. I'm just gonna start from scratch right now.
02:34
Here you can see all the permissions that are available for the different components and aspects inside of Azure, such as the directory itself.
02:42
So, for example, we could search for credentials,
02:45
and this will bring up the components we can assign to manage properties and credentials of AP registrations.
02:53
Then we can review and simply create our new custom role.
02:58
Next, let's go take a look at our roles that we have that we can assign to our azure resource is, and I want to start this off by going into our subscriptions,
03:07
will select my Microsoft Azure standard subscription here,
03:12
and we could go into access control or I am.
03:15
We can check access to review the level that a group or a user or other identity has on the existing resource.
03:25
We can take a look at our existing roll assignments
03:30
here. My global admin account that we've been using this entire time is also an owner on the subscription, meaning it can make all the changes that needs to and also a sign. Other users
03:42
we have deny assignments. We don't have any configured right now
03:45
and there we have a list of our individual built in roles that we have available
03:50
right at the top. We have the three that we talked about that apply to Resource is the owner contributor in the reader.
03:55
But as you can see, we have a lot more other rules that we can assign in here.
04:02
We also have roles for backup contributors, operators or readers,
04:06
and I think you get the idea. We can get pretty granular with these built in roles and assign them to users so they don't have full access to everything. But they just have access to the roles and responsibilities that they need to. Our resource is
04:19
so Let's go back to roll assignments. I want to give my Jeff admin permissions on this subscription.
04:27
Now my other Jeff admin account to be able to do anything theat Ben needs to. But I don't want that person to be able to assign permissions to other users. So I'm going to do here is just select the contributor role.
04:46
Now my other Jeff Admin account is a contributor for this subscription. And remember, this is also for everything else inside of the subscription. So resource groups, storage accounts, virtual machines, anything else inside the subscription, The Jeff Admin account will have access to
05:04
Bliss. Jump in and take a look at our other resource is and see how this can apply there.
05:11
Let's go check out our resource groups
05:15
here. I can go into this specific resource group and also go into access control.
05:23
Let's go check out our current role assignments.
05:28
You can see I have my Jeff Brown cyber very account, but also my Jeff admin because it inherited it from the subscription level.
05:36
But maybe this particular resource group is hosting an application or the virtual machines that only specific add men's need to have access to so I could come in here
05:46
at a role assignment.
05:47
And maybe this group of people just need to be a virtual machine contributor, meaning they can administer them but not make any other changes to other. Resource is in the resource group.
05:59
So I'm gonna select Jane Johnson. And now my Jane Johnson user will have contributor rights to the virtual machines inside this resource group. But on Lee, this resource group and not other once I have and then also other non virtual machine resource is inside the skirt.
06:15
So now we have Jane assigned to a built in role of the virtual Machine contributor. But let's say
06:20
none of the built in roles fit the needs that we have for one of our adamant that we have in our environment,
06:28
you do have the option of creating a custom role. And to do that, we're gonna jump out to Azure Power Show.
06:35
Now, I know we haven't talked about azure power show very much during this course, and it's something I'm saving towards the end that will cover.
06:43
But for right now, just understand. I have the power show module installed for Azure, and I've already connected to the service. So what I want to do is just take a look at the built in roll definitions that we have. And we can do that using the Get ese Roll definition Command.
07:00
And we're gonna pull up that virtual machine contributor role and hear this probably looks a little familiar. It's got a couple of things from our slides. We have the name, the actions, that not actions which are denies.
07:12
And then you can also get granular saying data actions and not actions
07:15
and then also the assigned herbal scope. But you see our actions here.
07:19
There's more to it that needs to be expanded. So let's take this.
07:25
We're going to convert it to Jason.
07:29
This looks a little bit better. Let's scroll up and take a look. So here we can see inside of our actions, the resource providers that we have that we've already discussed, like Microsoft It, like Microsoft Network and Microsoft dot compute. And these represent the different resource is we have inside of Asher.
07:45
So let's say I want to take this virtual machine contributor role and create a custom role based off of it.
07:51
We're going to keep our convert to Jason Command.
07:55
And I'm just gonna out file it
07:58
and call it new role dot Jason.
08:03
Now, I'm just gonna open this up in no pad, but she should be able to view and edit it in any type of text editor.
08:09
And here we have our role represented and Jason
08:13
And let's say I want this new role to not only be able to add public I p addresses to a virtual machines. I'm okay with them creating public I p addresses.
08:24
So I could take out all this right here and just put the wild card in there, and that will be able to give this role any access to public I p address. Resource is
08:35
now, before importing this, we do need to make a couple of other changes. We need to change our i d to know. And we are going to say this is a custom role,
08:43
and then down here, we need to give it an assigned herbal scope, and I'm gonna sign it to our subscription.
08:50
I go back to power show
08:52
I can run the get ese subscription,
08:54
and that's gonna give me the value of our Microsoft Azure standard subscription we've been using so far.
09:05
I'll save this.
09:09
Next. We're going to use the new ese roll Definition Command. We're gonna use input foul and specify our new role.
09:18
You can see the command's going to run some validation and make sure our Jason is correct. It looks like I made a small mistake when I modified it here.
09:26
If I go back and take a look, I just forgot to close out this quote here when I changed the public i p address resource provider,
09:33
Go and save that. And I also forgot to change our custom roll name. As you can see, it's gonna make sure you don't mess anything up and everything's in the right format.
09:48
So now we have our new role
09:50
and weaken. Find this by running another command.
09:54
We can run this to find all of our custom rolls,
09:58
and you see, I have my custom role is when I made previously, and then I have our new one here, the virtual Machine contributor with P I. P or public I. P. Address permissions.
10:09
So now let's go back out to our azure portal and assign this to one of our users
10:13
back here in the Azure portal. We're going to use this new role definition that we just made to assign it to someone inside this resource group. We click on add
10:24
search for a virtual machine.
10:28
We can see her new role right here.
10:31
I'm going to sign this to one of our users.
10:37
So now this user should be able to have all the same rights that the virtual machine contributor had, But with the option to manage public, I p addresses
10:46
one other thing. I want to show you with this built in role.
10:50
If we go take a look at our list of all the roles that are available
10:58
and search for it,
11:01
we'll see it here listed. And you see the type
11:05
is custom role. We have our custom name here that we put and also notice that the icon is different just for easy identification of the built in rolls in here
11:15
that does it for a demo. Let's wrap this up and go back to our slides.
11:18
That does it for a demo coming up next, we're gonna take a look at our next security feature by talking about how to configure multi factor authentication.
11:26
See you in the next episode.

Up Next

AZ-300: Microsoft Azure Architect Technologies

Azure Solution Architects are responsible for taking business requirements and turning them into solutions. This course provides an introduction into Azure, Microsoft’s cloud platform.

Instructed By

Instructor Profile Image
Jeff Brown
Instructor