Add a Custom Role Using Azure Portal, CLI, or PowerShell

About this task

Follow the steps below to add a custom role for the app that you want to use to protect Azure Virtual Machines and Azure Storage:

Procedure

  1. Download the template from this link: Custom_Role_Template.zip.
  2. In the extracted folder, open the file that you want to use to add the custom role.
  3. Find the entry “AssignableScopes”:[“/subscriptions/#SubscriptionID#”] and replace #SubscriptionID# with your subscription ID.
  4. For the examples of creating a custom role using the Azure Portal, CLI, or PowerShell, refer to Azure custom roles.