Skip to content

Commit c17d916

Browse files
authored
Merge pull request #239109 from ntrogh/als-permissions
[Azure Lab Services] Align permissions with RBAC conceptual information
2 parents 7503226 + dd884d1 commit c17d916

34 files changed

+125
-100
lines changed

articles/lab-services/add-lab-creator.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,17 @@ ms.custom: subject-rbac-steps
1212

1313
This article shows you how to add users as lab creators to a lab account or lab plan in Azure Lab Services. These users then can create labs and manage those labs.
1414

15-
## Add Azure AD user account to Lab Creator role
16-
17-
The user account you used to create the lab account or lab plan is automatically able to create labs. Otherwise, the user must be a member of the **Lab Creator** role. If using a lab plan, user must be a **Lab Creator** on the lab plan or the resource group that contains the lab plan. If using a lab account, the user must be a **Lab Creator** on the lab account. If you are planning to use the same user account to create a lab as you did creating the lab plan or lab account, you can skip this step. To use another user account to create a lab, do the following steps:
18-
19-
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](../role-based-access-control/role-assignments-portal.md).
20-
21-
1. On the **Lab Plan** resource, select **Access control (IAM)**
15+
## Prerequisites
2216

23-
1. Select **Add** > **Add role assignment**.
17+
- To add lab creators to a lab plan, your Azure account needs to have the [Owner](./concept-lab-services-role-based-access-control.md#owner-role) Azure RBAC role assigned on the resource group. Learn more about the [Azure Lab Services built-in roles](./reliability-in-azure-lab-services.md).
2418

25-
![Access control (IAM) page with Add role assignment menu open.](../../includes/role-based-access-control/media/add-role-assignment-menu-generic.png)
26-
27-
1. On the **Role** tab, select the **Lab Creator** role.
28-
29-
![Add role assignment page with Role tab selected.](../../includes/role-based-access-control/media/add-role-assignment-role-generic.png)
30-
31-
1. On the **Members** tab, select the user you want to add to the Lab Creators role
19+
## Add Azure AD user account to Lab Creator role
3220

33-
1. On the **Review + assign** tab, select **Review + assign** to assign the role.
21+
[!INCLUDE [Add Lab Creator role](./includes/lab-services-add-lab-creator.md)]
3422

35-
> [!NOTE]
36-
> If you are adding a non-Microsoft account user as a lab creator, see [Adding a guest user as a lab creator](#adding-a-guest-user-as-a-lab-creator).
23+
If you're using a lab account, assign the Lab Creator role on the lab account.
3724

38-
## Adding a guest user as a lab creator
25+
## Add a guest user as a lab creator
3926

4027
You might need to add an external user as a lab creator. If that is the case, you'll need to add them as a guest account on the Azure AD attached to the subscription. The following types of email accounts might be used:
4128

articles/lab-services/capacity-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ These actions may be disabled if there no more cores that can be enabled for you
2525
2626
### Prerequisites
2727

28-
- To create a support request, your Azure account needs the [Owner](/azure/role-based-access-control/built-in-roles#owner), [Contributor](/azure/role-based-access-control/built-in-roles#contributor), or [Support Request Contributor](/azure/role-based-access-control/built-in-roles#support-request-contributor) Azure Active Directory role at the subscription level.
28+
[!INCLUDE [Create support request](./includes/lab-services-prerequisite-create-support-request.md)]
2929

3030
## Request a limit increase
3131

articles/lab-services/classroom-labs-concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following conceptual diagram shows how the different Azure Lab Services comp
2121

2222
In Azure Lab Services, a lab plan is an Azure resource and serves as a collection of configurations and settings that apply to all the labs created from it. For example, lab plans specify the networking setup, the list of available VM images and VM sizes, and if [Canvas integration](lab-services-within-canvas-overview.md) can be used for a lab. Learn more about [planning your lab plan settings](./lab-plan-setup-guide.md#plan-your-lab-plan-settings).
2323

24-
You can associate a lab plan with zero or more [labs](#lab). Each lab uses the configuration settings from the lab plan. Azure Lab Services uses Azure RBAC roles to grant permissions for creating labs. Learn more about [Azure Lab Services built-in roles](./administrator-guide.md#rbac-roles).
24+
You can associate a lab plan with zero or more [labs](#lab). Each lab uses the configuration settings from the lab plan. Azure Lab Services uses Azure RBAC roles to grant permissions for creating labs. Learn more about [Azure Lab Services built-in roles](./concept-lab-services-role-based-access-control.md).
2525

2626
## Lab
2727

@@ -31,7 +31,7 @@ You can further configure the lab behavior by creating [lab schedules](#schedule
3131

3232
When you publish a lab, Azure Lab Services provisions the lab VMs. All lab VMs for a lab share the same configuration and are identical.
3333

34-
To create labs in Azure Lab Services, your Azure account needs to have the Lab Creator Azure RBAC role, or you need to be the owner of the corresponding lab plan. Learn more about [Azure Lab Services built-in roles](./administrator-guide.md#rbac-roles).
34+
To create labs in Azure Lab Services, your Azure account needs to have the Lab Creator Azure RBAC role, or you need to be the owner of the corresponding lab plan. Learn more about [Azure Lab Services built-in roles](./concept-lab-services-role-based-access-control.md).
3535

3636
You use the Azure Lab Services website (https://labs.azure.com) to create labs for a lab plan. Alternately, you can also [configure Microsoft Teams integration](./how-to-configure-teams-for-lab-plans.md) or [Canvas integration](./how-to-configure-canvas-for-lab-plans.md) with Azure Lab Services to create labs directly in Microsoft Teams or Canvas.
3737

articles/lab-services/how-to-attach-detach-shared-image-gallery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Saving images to a compute gallery and replicating those images incurs extra cos
2323

2424
## Prerequisites
2525

26-
- To change settings for the lab plan, your Azure account needs the [Owner](/azure/role-based-access-control/built-in-roles#owner), [Contributor](/azure/role-based-access-control/built-in-roles#contributor), or [Lab Services Contributor](/azure/role-based-access-control/built-in-roles#lab-services-contributor) role on the lab plan. Learn more about the [Azure Lab Services built-in roles](./administrator-guide.md#rbac-roles).
26+
- To change settings for the lab plan, your Azure account needs the [Owner](/azure/role-based-access-control/built-in-roles#owner), [Contributor](/azure/role-based-access-control/built-in-roles#contributor), or [Lab Services Contributor](/azure/role-based-access-control/built-in-roles#lab-services-contributor) role on the lab plan. Learn more about the [Azure Lab Services built-in roles](./concept-lab-services-role-based-access-control.md).
2727

2828
- To attach an Azure compute gallery to a lab plan, your Azure account needs to have the following permissions:
2929

articles/lab-services/how-to-configure-canvas-for-lab-plans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you've already configured your course to use Azure Lab Services, learn how yo
2222

2323
## Prerequisites
2424

25-
- An Azure Lab Services lab plan. Follow these steps to [Create a lab plan in the Azure portal](./quick-create-resources.md), if you don't have one yet.
25+
[!INCLUDE [Existing lab plan](./includes/lab-services-prerequisite-lab-plan.md)]
2626

2727
- Your Canvas account needs [Admin permissions](https://community.canvaslms.com/t5/Canvas-Basics-Guide/What-is-the-Admin-role/ta-p/78) to add the Azure Lab Services app to Canvas.
2828

articles/lab-services/how-to-configure-student-usage.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ Azure Lab Services supports up to 400 users per lab.
2929

3030
## Prerequisites
3131

32-
- To manage users for the lab, your Azure account needs one of the following permissions:
33-
34-
- [Lab Creator](/azure/role-based-access-control/built-in-roles#lab-creator), [Lab Contributor](/azure/role-based-access-control/built-in-roles#lab-contributor), or [Lab Operator](/azure/role-based-access-control/built-in-roles#lab-operator) role at the lab plan or resource group level. Learn more about the [Azure Lab Services built-in roles](./administrator-guide.md#rbac-roles).
35-
- [Owner](/azure/role-based-access-control/built-in-roles#owner) or [Contributor](/azure/role-based-access-control/built-in-roles#contributor) at the lab plan or resource group level.
32+
[!INCLUDE [Azure subscription](./includes/lab-services-prerequisite-subscription.md)]
33+
[!INCLUDE [Create and manage labs](./includes/lab-services-prerequisite-create-lab.md)]
34+
[!INCLUDE [Existing lab plan](./includes/lab-services-prerequisite-lab-plan.md)]
3635

3736
## Add users to a lab from an Azure AD group
3837

articles/lab-services/how-to-configure-teams-for-lab-plans.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ For information about creating and managing labs in Microsoft Teams, see [Create
1818

1919
## Prerequisites
2020

21-
- An existing Azure Lab Services lab plan. If you don't have a lab plan yet, see [Set up a lab plan with Azure Lab Services](quick-create-resources.md).
21+
[!INCLUDE [Existing lab plan](./includes/lab-services-prerequisite-lab-plan.md)]
22+
2223
- The lab plan is created in the same tenant as Microsoft Teams.
2324
- To add the Azure Lab Services Teams app to a channel, your account needs to be an owner of the team in Microsoft Teams.
24-
- To add a lab plan to Teams, your account should have the Owner, Lab Creator, or Contributor role on the lab plan.
25+
- To add a lab plan to Teams, your account should have the [Owner](./concept-lab-services-role-based-access-control.md#owner-role), [Lab Creator](./concept-lab-services-role-based-access-control.md#lab-creator-role), or [Contributor](./concept-lab-services-role-based-access-control.md#contributor-role) role on the lab plan. Learn more about [Azure Lab Services built-in roles](./concept-lab-services-role-based-access-control.md).
2526

2627
## User workflow
2728

articles/lab-services/how-to-create-lab-bicep.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ In this article, you learn how to create a lab using a Bicep file. For a detail
1515

1616
## Prerequisites
1717

18-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
18+
[!INCLUDE [Azure subscription](./includes/lab-services-prerequisite-subscription.md)]
19+
[!INCLUDE [Create and manage labs](./includes/lab-services-prerequisite-create-lab.md)]
20+
[!INCLUDE [Existing lab plan](./includes/lab-services-prerequisite-lab-plan.md)]
1921

2022
## Review the Bicep file
2123

articles/lab-services/how-to-create-lab-plan-bicep.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ In this article, you learn how to create a lab plan using a Bicep file. For a d
1515

1616
## Prerequisites
1717

18-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
18+
[!INCLUDE [Azure subscription](./includes/lab-services-prerequisite-subscription.md)]
19+
[!INCLUDE [Create and manage labs](./includes/lab-services-prerequisite-create-lab.md)]
1920

2021
## Review the Bicep file
2122

articles/lab-services/how-to-create-lab-plan-powershell.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ In this article, you learn how to use PowerShell and the Azure module to create
1414

1515
## Prerequisites
1616

17-
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free).
17+
[!INCLUDE [Azure subscription](./includes/lab-services-prerequisite-subscription.md)]
18+
[!INCLUDE [Create and manage labs](./includes/lab-services-prerequisite-create-lab.md)]
19+
1820
- [Windows PowerShell](/powershell/scripting/windows-powershell/starting-windows-powershell).
1921
- [Azure Az PowerShell module](/powershell/azure/new-azureps-module-az). Must be version 7.2 or higher.
2022

0 commit comments

Comments
 (0)