Giving access to a resource group in Azure is an essential operation for managing permissions for your resource group in your cloud environment. This article will walk you through 2 simple approaches to easily do this task.
Table of Contents
How to grant access to resource group in Azure
Let us dive deep into the two approaches individually.
- Approach-1: Using Azure Portal
- Approach-2: Using PowerShell
Approach-1: Using Azure Portal
To give access to Resource Group in Azure, Follow the below steps
1. Log in to the Azure Portal.
2. Search for Resource Groups and click on the search result Resource Groups, as shown below.

3. Click on the specific Resource Group to which you wish to give access.

4. On the Resource Group page, click on the Access Control (IAM) link from the left navigation, then click on the Add role assignment option from the + Add dropdown, as shown in the screenshot below.

5. Based on your requirements, search for a Virtual machine contributor or any other role, select the same role from the search results, and click the Next button.

6. On the Members tab, click on the + Select Members button, as shown in the screenshot below.

7. On the Select members screen, Search for the name or email ID of the member, select the member, and click on the Select button, as shown in the screenshot below.

Click on the Review + Assign button.

Again, click the Review + Assign button in the next window, as shown in the screenshot below.

The screenshot below shows that the selected member was successfully added to the specified role.

Check out How to recover deleted Resource Group Azure
Approach-2: Using PowerShell
You can execute the below Azure PowerShell command to give the user access to the Azure Resource Group.
New-AzRoleAssignment -SignInName fewlines4biju_hotmail.com#EXT#@fewlines4bijuhotmail.onmicrosoft.com `
-RoleDefinitionName "Contributor" `
-ResourceGroupName "Demo789"After executing the above command, I got the expected output shown in the screenshot below.

Video Tutorial
Conclusion
Granting access to an Azure resource group is crucial to safeguarding it. As mentioned in this article, you can achieve this task using Azure Portal or PowerShell.
You may also like following the articles below
- Azure Rename Resource Group
- How to create a Resource Group in Azure
- How To Add User To Azure Resource Group

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
