DEV Community

Cover image for How to manage access with Azure Role-based Access Control (RBAC)
Adisa Oluwaseyi
Adisa Oluwaseyi

Posted on

How to manage access with Azure Role-based Access Control (RBAC)

Azure role-based access control (Azure RBAC) is a system that provides fine-grained access management of Azure resources. Using Azure RBAC, you can segregate duties within your team and grant only the amount of access to users that they need to perform their jobs.

In this guide we will be using Azure RBAC to assign roles and view activity logs

Creating User

Step 1:
Visit portal.azure.com, login or sign up if you don't have an account, you can get a free account at azure.microsoft.com/en-us/free/

Step 2:
On the Azure portal page click search box and enter Azure active directory, then select Azure active directory

Image description

Step 3:
On default directory page click users on the left

Image description

Step 4:
On the User page click new user and select create new user

Image description

Step 5:
Enter a principal name of your choice, enter a display name and leave the rest of the settings as default, then click review + create

Image description

Step 6:
Click create

Image description

Step 7:
Click on the user we just created

Image description

Step 8:
On the user page click reset password to get a temporary password

Image description

Assigning Role to User

Step 1:
On the Azure portal page click the search box and enter resource group, then click resource group

Image description

Step 2:
On the resource group page click create button

Image description

Step 3:
Enter a resource group name of your choice and choose a region of your choice then click review and create button

Image description

Step 4:
After validation has passed click create button

Image description

Step 5:
After the resource group has been created, click go to resource group

Image description

Step 6:
On the resource group page click Access control (IAM) on the left side

Image description

Step 7:
On the access control page click add button, then click add role assignment

Image description

Step 8:
On the Add role assignment page search for Virtual Contributor in the search box

Image description

Step 9:
Scroll down and select Virtual Machine Contributor then click next

Image description

Step 10:
On the Add role assignment page click select members, then select a member and click select

Image description

Step 11:
Add description and click review + assign button

Image description

Step 12:
Viola!!! role has been added, now to view activity log, click activity log on the left

Image description

Top comments (1)

Collapse
 
godwink profile image
Konkwo Godwin

Good work