title | description | ms.topic | ms.date | ms.custom |
---|---|---|---|---|
Set up a lab account with Azure Lab Services | Microsoft Docs |
Learn how to set up a lab account and add users that can create labs in the lab account. |
tutorial |
01/06/2022 |
subject-rbac-steps |
[!INCLUDE preview note]
In Azure Lab Services, a lab account serves as the central account in which your organization's labs are managed. In your lab account, give permission to others to create labs, and set policies that apply to all labs under the lab account. In this tutorial, learn how to create a lab account.
In this tutorial, you do the following actions:
[!div class="checklist"]
- Create a lab account
- Add a user to the Lab Creator role
If you don't have an Azure subscription, create a free account before you begin.
The following steps illustrate how to use the Azure portal to create a lab account with Azure Lab Services.
-
Sign in to the Azure portal.
-
Select All Services on the left menu. Select DevOps from Categories. Then, select Lab Services. If you select star (
*
) next to Lab Services, it's added to the FAVORITES section on the left menu. From the next time onwards, you select Lab Services under FAVORITES. -
On the Lab Services page, select Add on the toolbar or select Create lab account button on the page.
-
On the Basics tab of the Create a lab account page, do the following actions:
-
For Lab account name, enter a name.
-
Select the Azure subscription in which you want to create the lab account.
-
For Resource group, select an existing resource group or select Create new, and enter a name for the resource group.
-
For Location, select a location/region in which you want to create the lab account.
-
Select Review + create.
-
Review the summary, and select Create.
-
-
When the deployment is complete, expand Next steps, and select Go to resource.
-
Confirm that you see the Lab Account page.
To set up a lab in a lab account, the user must be a member of the Lab Creator role in the lab account. To provide educators the permission to create labs for their classes, add them to the Lab Creator role: For detailed steps, see Assign Azure roles using the Azure portal.
Note
The account you used to create the lab account is automatically added to this role. If you are planning to use the same user account to create a lab in this tutorial, skip this step.
-
On the Lab Account page, select Access control (IAM)
-
Select Add > Add role assignment (Preview).
-
On the Role tab, select the Lab Creator role.
-
On the Members tab, select the user you want to add to the Lab Creators role
-
On the Review + assign tab, select Review + assign to assign the role.
In this tutorial, you created a lab account. To learn about how to create a lab as an educator, advance to the next tutorial:
[!div class="nextstepaction"] Set up a lab