4 years ago, I wrote an article about the creation of Azure RBAC custom roles, through PowerShell.

Now, Microsoft releases the possibility to create a custom role, directly from the portal.

To start, go to a resource or a subscription in Access Control (IAM) and go to the Roles tab. Click on Add > Add custom role:

Access Control (IAM)

Provide the name, description, and choose from where you want to start your template:

  • Clone a role
  • Start from scratch (that I will use)
  • Start from JSON

Clone a role

Now, you can add permissions:

Add permission

I’ll take Microsoft Compute for this example. When you chose it, you have two choices:

  • Actions: Choose permissions that you want to give, depending of the category
  • Data Actions: for others permissions

Microsoft Compute

You can add this custom role to other subscriptions/resource groups:

 Subscriptions/resource groups

In the JSON tab, you have the JSON, generated, and that you can reuse later:

JSON format

You can now click on Create to start the creation of the custom role and assign this role to subscription/resource groups.

Visual Studio Enterprise

VSAN from StarWind eliminates any need for physical shared storage just by mirroring internal flash and storage resources between hypervisor servers. Furthermore, the solution can be run on the off-the-shelf hardware. Such design allows VSAN from StarWind to not only achieve high performance and efficient hardware utilization but also reduce operational and capital expenses.
Find out more about ➡ VSAN from StarWind

You can now add users, inside this custom role:

Add users

If you are not familiar with JSON, this new interface will save you a lot of time, and the export/import function is very helpful to do a backup of your roles, or to import them in another subscription.

Views All Time
Views Today
Appreciate how useful this article was to you?
No Ratings Yet
Back to blog
The following two tabs change content below.
Florent Appointaire
Florent Appointaire is Microsoft Engineer with 5 years of experience, specialized in Cloud Technologies (Public/Hybrid/Private). He is a freelance consultant in Belgium from the beginning of 2017. He is MVP Cloud and Datacentre Management. He is MCSE Private Cloud and Hyper-V certified. His favorite products are SCVMM, SCOM, Windows Azure pack/Azure Stack and Microsoft Azure.