1.4 Assign Role

Task 4: Assign the Service Desk Virtual Machine Contributor permissions.

  1. On the Resource groups blade, click the AZ500LAB01 resource group entry.

  2. On the AZ500Lab01 blade, click Access control (IAM).

  3. On the AZ500Lab01 | Access control (IAM) blade, click + Add and then, in the drop-down menu, click Add role assignment.

  4. On the Add role assignment blade, specify the following settings:

    Setting Value
    Role Virtual Machine Contributor
    Assign access to User, group, or service principal
    Select Service Desk
  5. Choose Save to create the role assignment.

  6. From the Access control (IAM) blade, select Role assignments.

  7. On the AZ500Lab01 | Access control (IAM) blade, on the Check access tab, in the Search by name or email address text box, type Dylan Williams.

  8. In the list of search results, select the user account of Dylan Williams and, on the Dylan Williams assignments - AZ500Lab01 blade, view the newly created assignment.

  9. Close the Dylan Williams assignments - AZ500Lab01 blade.

  10. Repeat the same last two steps to check access for Joseph Price.

Result: You have assigned and checked RBAC permissions.