Skip to content

Commit c3138b0

Browse files
committed
touchups
1 parent c71cc18 commit c3138b0

File tree

4 files changed

+35
-40
lines changed

4 files changed

+35
-40
lines changed

articles/devtest-labs/add-artifact-vm.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,19 @@ description: Learn how to add or configure artifacts on lab virtual machines (VM
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/25/2025
7+
ms.date: 03/26/2025
88
ms.custom: devx-track-azurepowershell, UpdateFrequency2
99

1010
#customer intent: As a lab user, I want to add artifacts to my VMs so I can use them to run scripts or commands, install tools or applications, or take other actions on my VMs.
1111
---
1212

1313
# Add artifacts to DevTest Labs VMs
1414

15-
This article describes how to add *artifacts* to Azure DevTest Labs virtual machines (VMs). Artifacts are tools, actions, or software you can add to lab VMs. For example, artifacts can run Windows PowerShell scripts or Bash commands, install tools or applications, or take other actions like joining a domain.
15+
This article describes how to add *artifacts* to Azure DevTest Labs virtual machines (VMs) by using the Azure portal or Azure PowerShell. Artifacts are tools, actions, or software you can add to lab VMs. For example, artifacts can run Windows PowerShell scripts or Bash commands, install tools or applications, or take other actions like joining a domain.
1616

1717
DevTest Labs artifacts can come from the [public DevTest Labs Git repository](https://github.com/Azure/azure-devtestlab/tree/master/Artifacts) or from private Git repositories. Lab users can [create their own custom artifacts](devtest-lab-artifact-author.md) and store them in a repository, and use parameters to customize existing artifacts for their own needs.
1818

19-
A lab administrator can [add artifact repositories to a lab](add-artifact-repository.md) so all lab users can access them. Lab administrators can also [specify mandatory artifacts to be installed on all lab VMs](devtest-lab-mandatory-artifacts.md) at creation.
20-
21-
You can't change or remove mandatory artifacts at VM creation time, but you can add and configure other available artifacts at or after VM creation time. This article describes how to add available artifacts to VMs by using the Azure portal or Azure PowerShell.
19+
A lab administrator can [add artifact repositories to a lab](add-artifact-repository.md) so all lab users can access them. Lab administrators can also [specify mandatory artifacts to be installed on all lab VMs](devtest-lab-mandatory-artifacts.md) at creation. Lab users can't change or remove mandatory artifacts at VM creation time, but they can add and configure other available artifacts at or after VM creation time.
2220

2321
## Prerequisites
2422

articles/devtest-labs/connect-virtual-machine-through-browser.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to connect to Azure DevTest Labs virtual machines (VMs) t
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/25/2023
7+
ms.date: 03/26/2023
88
ms.custom: UpdateFrequency2
99

1010
#customer intent: As a lab user, I want to connect to Bastion-enabled lab VMs through my browser, so I can connect securely without using public IP addresses or exposing RDP or SSH ports to the internet.
@@ -15,8 +15,7 @@ ms.custom: UpdateFrequency2
1515
This article describes how to connect to your DevTest Labs virtual machine (VM) through a browser by using [Azure Bastion](/azure/bastion/index). Bastion provides secure remote desktop protocol (RDP) or secure shell (SSH) access without using public IP addresses or exposing RDP or SSH ports to the internet.
1616

1717
> [!IMPORTANT]
18-
> - The VM must be in an Azure Bastion-configured virtual network in a lab that has Bastion connections enabled. For more information, see [Enable browser connection to DevTest Labs VMs with Azure Bastion](enable-browser-connection-lab-virtual-machines.md).
19-
> - You must have ownership or sign-in permissions on the VM.
18+
> The VM must be in an Azure Bastion-configured virtual network in a lab that has Bastion connections enabled. For more information, see [Enable browser connection to DevTest Labs VMs with Azure Bastion](enable-browser-connection-lab-virtual-machines.md).
2019
2120
To connect to a lab VM through a browser:
2221

articles/devtest-labs/devtest-lab-add-devtest-user.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ description: Learn about the Azure DevTest Labs Owner, Contributor, and DevTest
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/25/2025
7+
ms.date: 03/26/2025
88
ms.custom: devx-track-azurepowershell, UpdateFrequency2
99

1010
#customer intent: As a lab owner, I want to add and configure users for my lab so I can grant the access necessary to do specific lab tasks.
1111
---
1212

1313
# Add and configure lab users in Azure DevTest Labs
1414

15-
Azure DevTest Labs has three built-in roles: **Owner**, **Contributor**, and **DevTest Labs User**, that use Azure [role-based access control](/azure/role-based-access-control/overview) (RBAC) to define the access necessary to do specific lab tasks. 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.
15+
Azure DevTest Labs has three built-in roles: **Owner**, **Contributor**, and **DevTest Labs User**, that define the access necessary to do specific lab tasks. Lab owners use Azure [role-based access control](/azure/role-based-access-control/overview) (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.
1616

1717
<a name="devtest-labs-user"></a>
1818
## Owners, Contributors, and DevTest Labs Users
@@ -44,29 +44,39 @@ The following table shows the actions that the DevTest Labs **Owner**, **Contrib
4444
> [!NOTE]
4545
> Lab users automatically have the **Owner** role on VMs they create.
4646
47-
### Required permissions
47+
### Lab Owner role
4848

49-
Azure permissions propagate from parent scope to child scope. Owners of an Azure subscription that contains labs are automatically owners of the subscription's labs.
49+
Azure permissions propagate from parent scope to child scope. Owners of an Azure subscription that contains labs are automatically **Owner**s of the subscription's labs.
5050

51-
Azure subscription [Owners](/azure/role-based-access-control/built-in-roles#owner) and [User Access Administrators](/azure/role-based-access-control/built-in-roles#user-access-administrator) can add DevTest Labs **Owner**s, **Contributor**s, and **DevTest Labs Users** to labs in the subscription.
51+
Azure subscription [Owners](/azure/role-based-access-control/built-in-roles/privileged#owner) and [User Access Administrators](/azure/role-based-access-control/built-in-roles/privileged#user-access-administrator) can add and assign DevTest Labs **Owner**s, **Contributor**s, and **DevTest Labs Users** to labs in their subscriptions. Azure subscription [Contributors](/azure/role-based-access-control/built-in-roles/privileged#contributor) can create labs, but they are **Owners** of those labs only if a subscription Owner or User Access Administrator assigns them the lab **Owner** role.
5252

53-
Users that are granted the lab **Owner** role can add and configure **Owner**s, **Contributor**s, and **DevTest Labs User**s 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.
53+
Lab users that are granted the **Owner** role can add and assign **Owner**s, **Contributor**s, and **DevTest Labs User**s 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.
5454

55-
DevTest Labs Users must have a valid [Microsoft account](/windows-server/identity/ad-ds/manage/understand-microsoft-accounts), but they don't need an Azure subscription.
55+
## Prerequisites
5656

57-
## Add a member to a lab
57+
# [Azure portal](#tab/portal)
5858

59-
Lab Owners can add members to lab roles by using the Azure portal or an Azure PowerShell script.
59+
- You must be a lab **Owner**, either by assignment from a subscription owner or by inheritance as a subscription owner.
60+
- The user to be added must have a valid [Microsoft account](/windows-server/identity/ad-ds/manage/understand-microsoft-accounts). They don't need an Azure subscription.
6061

61-
# [Azure portal](#tab/portal)
62+
# [Azure PowerShell](#tab/PowerShell)
6263

63-
### Prerequisite
64+
- You must be a lab **Owner**, either by assignment from a subscription owner or by inheritance as a subscription owner.
65+
- The user to add must have a valid [Microsoft account](/windows-server/identity/ad-ds/manage/understand-microsoft-accounts). They don't need an Azure subscription.
66+
- This PowerShell script requires the added user to be in the Microsoft Entra ID. You can add an external user to Microsoft Entra ID as a guest. For more information, see [Add a new guest user](/entra/fundamentals/how-to-create-delete-users#invite-an-external-user). If you can't add the user to Microsoft Entra ID, use the portal procedure instead.
67+
- Azure PowerShell. You can either:
68+
- [Use Azure Cloud Shell](/azure/cloud-shell/quickstart). Be sure to select the **PowerShell** environment in Cloud Shell.
69+
- [Install Azure PowerShell](/powershell/azure/install-azure-powershell) to use on a physical or virtual machine. If necessary, run `Update-Module -Name Az` to update your installation.
6470

65-
- Lab **Owner** role, either by assignment from a subscription owner or by inheritance as a subscription owner.
71+
---
6672

67-
### Add a lab member
73+
## Add a user to a lab
6874

69-
The following procedure adds a **DevTest Labs User** member to a lab. If you're an owner of the Azure subscription the lab is in, you can also do this procedure from the subscription's **Access control (IAM)** page.
75+
Lab Owners can add members to lab roles by using the Azure portal or an Azure PowerShell script.
76+
77+
# [Azure portal](#tab/portal)
78+
79+
The following procedure adds a user to a lab with **DevTest 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's **Access control (IAM)** page.
7080

7181
1. On the lab's home page, select **Configuration and policies** from the left navigation.
7282
1. On the **Configuration and policies** page, select **Access control (IAM)** from the left navigation.
@@ -85,26 +95,14 @@ The following procedure adds a **DevTest Labs User** member to a lab. If you're
8595
# [Azure PowerShell](#tab/PowerShell)
8696
<a name="add-an-external-user-to-a-lab-using-powershell"></a>
8797

88-
### Prerequisites
89-
90-
- Lab **Owner** role, either by assignment from a subscription owner or by inheritance as a subscription owner.
91-
- Azure PowerShell. You can either:
92-
- [Use Azure Cloud Shell](/azure/cloud-shell/quickstart). Be sure to select the **PowerShell** environment in Cloud Shell.
93-
- [Install Azure PowerShell](/powershell/azure/install-azure-powershell) to use on a physical or virtual machine. If necessary, run `Update-Module -Name Az` to update your installation.
94-
95-
>[!NOTE]
96-
>This PowerShell script requires the added user to be in the Microsoft Entra ID. You can add an external user to Microsoft Entra ID as a guest. For more information, see [Add a new guest user](/entra/fundamentals/how-to-create-delete-users#invite-an-external-user). If you can't add the user to Microsoft Entra ID, use the portal procedure instead.
97-
98-
### Add a member
99-
100-
The following PowerShell script adds a member to a lab with **DevTest Labs User** role. To use the script, replace the parameter values under the `# Values to change` comment with your own values. You can get the `subscriptionId`, `labResourceGroup`, and `labName` values from the lab's main page in the Azure portal.
98+
The following PowerShell script adds a user to a lab with **DevTest Labs User** role. To use the script, replace the parameter values under the `# Values to change` comment with your own values. You can get the `subscriptionId`, `labResourceGroup`, and `labName` values from the lab's main page in the Azure portal.
10199

102100
```azurepowershell
103101
# Values to change
104102
$subscriptionId = "<Azure subscription ID>"
105-
$labResourceGroup = "<Lab's resource group name>"
103+
$labResourceGroup = "<Lab resource group name>"
106104
$labName = "<Lab name>"
107-
$userDisplayName = "<User's display name>"
105+
$userDisplayName = "<User display name>"
108106
109107
# Sign into your Azure account.
110108
Connect-AzAccount

articles/devtest-labs/enable-browser-connection-lab-virtual-machines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ description: Learn how to integrate Azure Bastion with DevTest Labs to enable ac
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/25/2025
7+
ms.date: 03/26/2025
88
ms.custom: UpdateFrequency2
99

1010
#customer intent: As a lab owner, I want to enable Azure Bastion for my lab virtual network so lab users can connect to their VMs through their browsers.
1111
---
1212

1313
# Enable browser connection to lab VMs through Azure Bastion
1414

15-
Azure DevTest Labs integrates with [Azure Bastion](/azure/bastion/index) to allow connecting to lab virtual machines (VMs) through a browser. When a lab owner enables browser access to lab VMs through Bastion, all lab users can connect to their VMs through their browsers without needing any other client, agent, or software.
15+
Azure DevTest Labs integrates with [Azure Bastion](/azure/bastion/index) to allow connecting to lab virtual machines (VMs) through a browser. When a lab owner enables browser access to lab VMs through Bastion, lab users can connect to their VMs through their browsers without needing any other client, agent, or software.
1616

1717
Azure Bastion provides secure and seamless remote desktop protocol (RDP) and secure shell (SSH) connectivity over transport layer security (TLS), directly from the Azure portal. Lab VMs don't need public IP addresses.
1818

@@ -24,7 +24,7 @@ This article covers two ways to enable Azure Bastion browser connectivity to Dev
2424
## Prerequisites
2525

2626
- To enable and configure Azure Bastion for a lab, you need **Owner** or **Contributor** role in the lab.
27-
- To connect to an Azure Bastion-enabled lab virtual machine (VM) through a browser, you need **DevTest Labs User** role in the lab and sign-in access to the VM.
27+
- To connect to an Azure Bastion-enabled lab virtual machine (VM) through a browser, you need ownership access to the VM and at least **DevTest Labs User** role in the lab.
2828

2929
For more information about DevTest Labs user roles and access, see [Add and configure lab users](devtest-lab-add-devtest-user.md).
3030

0 commit comments

Comments
 (0)