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
Copy file name to clipboardExpand all lines: articles/devtest-labs/configure-lab-identity.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ A user-assigned managed identity is created as a standalone Azure resource.
47
47
48
48
DevTest Labs supports user assigned identities for both virtual machines and Azure Resource Manager based environments. For more information, see the following topics:
49
49
50
-
-[Add a user-assigned identity to deploy lab ARM environments](use-managed-identities-environments.md)
50
+
-[Add a user-assigned identity to deploy lab Azure Resource Manager environments](use-managed-identities-environments.md)
51
51
-[Add a user-assigned identities to deploy lab virtual machines](enable-managed-identities-lab-vms.md)
Copy file name to clipboardExpand all lines: articles/devtest-labs/enable-managed-identities-lab-vms.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,16 @@ To add a user assigned managed identity for lab VMs, follow these steps:
20
20
21
21
1.[Create a user-assigned managed identity in your subscription](../active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal.md#create-a-user-assigned-managed-identity)
22
22
1. Navigate to the **Configuration and policies** page for your lab.
23
-
2. Select **Identity (Preview)** on the left menu.
24
-
3. Select the **Virtual machine** tab.
25
-
4. Select **Add** to select an existing identity from a pre-populated dropdown list.
23
+
1. Select **Identity (Preview)** on the left menu.
24
+
1. Select the **Virtual machine** tab.
25
+
1. Select **Add** to select an existing identity from a pre-populated dropdown list.
Copy file name to clipboardExpand all lines: articles/devtest-labs/use-managed-identities-environments.md
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -6,36 +6,39 @@ ms.date: 06/26/2020
6
6
---
7
7
8
8
# Use Azure managed identities to deploy environments in a lab
9
+
9
10
As a lab owner, you can use a managed identity to deploy environments in a lab. This feature is helpful in scenarios where the environment contains or has references to Azure resources such as key vaults, shared image galleries, and networks that are external to the environment’s resource group. It enables creation of sandbox environments that aren't limited to the resource group of that environment.
10
11
11
12
> [!NOTE]
12
13
> Currently, a single user-assigned identity is supported per lab.
13
14
14
15
## Prerequisites
16
+
15
17
-[Create, list, delete or assign a role to a user-assigned managed identity using the Azure portal](../active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal.md).
18
+
19
+
Make sure your managed identity was created in the same region and subscription as your lab. The managed identity does not need to be in the same resource group.
16
20
17
21
## Use Azure portal
18
-
In this section you, as a lab owner, use the Azure portal to add a user-managed identity to the lab.
19
22
20
-
1. On the lab page, select **Configuration and policies**.
21
-
1. Select **Identity** in the **Settings** section.
22
-
1. To add a user assigned identity, select **Add** on the toolbar.
23
-
1. Select an **identity** from a pre-populated drop-down list.
24
-
1. Select **OK**.
23
+
In this section you, as a lab owner, use the Azure portal to add a user-managed identity to the lab.
25
24
25
+
1. Sign in to the [Azure portal](https://portal.azure.com).
26
+
1. Search for **DevTest Labs**.
27
+
1. From the list of labs, select the lab you want.
28
+
1. Select **Configuration and policies** -> **Identity (Preview)**.
29
+
1. To add a user assigned identity, select the **User Assigned** tab.
30
+
1. Press **Add** .
31
+
1. Select an existing user you have created and/or have access to from the drop-down.
2. You see the added user-managed identity in the list.
28
-
29
-

34
+
1. Press **Save** on top of the page.
30
35
31
-
Once saved, the lab will use this identity while deploying all lab environments. You can also access the identity resource in Azure by selecting the identity from the list.
36
+
Once saved, the lab will use this identity while deploying all lab environments. You can also access the identity resource in Azure by selecting the identity from the list.
32
37
33
38
The lab owner doesn't need to do anything special while deploying an environment as long as the identity added to the lab has permissions to the external resources that the environment needs to access.
34
39
35
40
To change the user-managed identity assigned to the lab, remove the identity attached to the lab first and then add another one to the lab. To remove an identity attached to the lab, select **... (ellipsis)**, and click **Remove**.
36
41
37
-

38
-
39
42
## Use API
40
43
41
44
1. After creating an identity, note the resource ID of this identity. It should look like the following sample:
0 commit comments