You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
11
11
---
12
12
13
13
# Add artifacts to DevTest Labs VMs
14
14
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.
16
16
17
17
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.
18
18
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.
Copy file name to clipboardExpand all lines: articles/devtest-labs/connect-virtual-machine-through-browser.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to connect to Azure DevTest Labs virtual machines (VMs) t
4
4
ms.topic: how-to
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
7
-
ms.date: 03/25/2023
7
+
ms.date: 03/26/2023
8
8
ms.custom: UpdateFrequency2
9
9
10
10
#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
15
15
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.
16
16
17
17
> [!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).
#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.
11
11
---
12
12
13
13
# Add and configure lab users in Azure DevTest Labs
14
14
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.
16
16
17
17
<aname="devtest-labs-user"></a>
18
18
## Owners, Contributors, and DevTest Labs Users
@@ -44,29 +44,39 @@ The following table shows the actions that the DevTest Labs **Owner**, **Contrib
44
44
> [!NOTE]
45
45
> Lab users automatically have the **Owner** role on VMs they create.
46
46
47
-
### Required permissions
47
+
### Lab Owner role
48
48
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.
50
50
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.
52
52
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.
54
54
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
56
56
57
-
## Add a member to a lab
57
+
#[Azure portal](#tab/portal)
58
58
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.
60
61
61
-
# [Azure portal](#tab/portal)
62
+
# [Azure PowerShell](#tab/PowerShell)
62
63
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.
64
70
65
-
- Lab **Owner** role, either by assignment from a subscription owner or by inheritance as a subscription owner.
71
+
---
66
72
67
-
###Add a lab member
73
+
## Add a user to a lab
68
74
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.
70
80
71
81
1. On the lab's home page, select **Configuration and policies** from the left navigation.
72
82
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
- 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.
Copy file name to clipboardExpand all lines: articles/devtest-labs/enable-browser-connection-lab-virtual-machines.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ description: Learn how to integrate Azure Bastion with DevTest Labs to enable ac
4
4
ms.topic: how-to
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
7
-
ms.date: 03/25/2025
7
+
ms.date: 03/26/2025
8
8
ms.custom: UpdateFrequency2
9
9
10
10
#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.
11
11
---
12
12
13
13
# Enable browser connection to lab VMs through Azure Bastion
14
14
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.
16
16
17
17
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.
18
18
@@ -24,7 +24,7 @@ This article covers two ways to enable Azure Bastion browser connectivity to Dev
24
24
## Prerequisites
25
25
26
26
- 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.
28
28
29
29
For more information about DevTest Labs user roles and access, see [Add and configure lab users](devtest-lab-add-devtest-user.md).
0 commit comments