Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Add and configure lab users in Azure DevTest Labs

Feedback

In this article

Azure DevTest Labs has three built-in roles:Owner,Contributor, andDevTest Labs User, that define the access necessary to do specific lab tasks. Lab owners use Azurerole-based access control (RBAC) to add lab users with assigned roles. This article lists the tasks each role can do, and describes how Lab Owners can add members to lab roles by using the Azure portal or an Azure PowerShell script.

Owners, Contributors, and DevTest Labs Users

The following table shows the actions that the DevTest LabsOwner,Contributor, andDevTest Labs User roles can take.

ActionOwnerContributorDevTest Labs User
Lab tasks
Create labs.XX
Add users to labs.X
Configure user settings and roles.X
Update lab virtual machine (VM) policies.XX
Update cost settings.XX
VM base tasks
Enable Marketplace images.XX
Add, update, and delete VM base formulas.XXX
Add and remove custom images.XX
Add, update, and delete formulas.XX
Individual VM tasks
Create VMs.XXX
Start, stop, or delete owned VMs.XXX
Add or remove VM data disks.XXX
Artifact and template tasks
Add and remove lab artifact and template repositories.XX
Create artifacts and templates.XXX
Apply artifacts to owned VMs.XXX

Note

Lab users automatically have theOwner role on VMs they create.

Lab Owner role

Azure permissions propagate from parent scope to child scope. Owners of an Azure subscription that contains labs are automaticallyOwners of the subscription's labs.

Azure subscriptionOwners andUser Access Administrators can add and assign DevTest LabsOwners,Contributors, andDevTest Labs Users to labs in their subscriptions. Azure subscriptionContributors can create labs, but they'reOwners of those labs only if a subscription Owner or User Access Administrator assigns them the labOwner role.

Lab users that are granted theOwner role can add and assignOwners,Contributors, andDevTest Labs Users for their own labs. However, added lab owners have a narrower scope of administration than Azure subscription-based owners. Added owners don't have full access to some resources that the DevTest Labs service creates.

Prerequisites

  • You must be a labOwner, either by assignment from a subscription owner or by inheritance as a subscription owner.
  • The user to be added must have a validMicrosoft account. They don't need an Azure subscription.

Add a user to a lab

Lab Owners can add members to lab roles by using the Azure portal or an Azure PowerShell script.

The following procedure adds a user to a lab withDevTest Labs User role. If you're an owner of the Azure subscription the lab is in, you can also do this procedure from the subscription'sAccess control (IAM) page.

  1. On the lab's home page, selectConfiguration and policies from the left navigation.

  2. On theConfiguration and policies page, selectAccess control (IAM) from the left navigation.

  3. SelectAdd >Add role assignment or select theAdd role assignment button.

    Screenshot that shows an access control (IAM) page with the role assignment menu open.

  4. On theAdd role assignment page, search for and select theDevTest Labs User role, and then selectNext.

    Screenshot that shows the role assignment page with the DevTest Labs User role selected.

  5. On theMembers tab, selectSelect members.

  6. On theSelect members screen, search for and select the members you want to add, and then selectSelect.

  7. SelectReview + assign, and after reviewing the details, selectReview + assign again to add the members.

Related content


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?