Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad9e602

Browse files
committedAug 21, 2020
updated files
1 parent a861341 commit ad9e602

File tree

7 files changed

+24
-19
lines changed

7 files changed

+24
-19
lines changed
 

‎articles/devtest-labs/configure-lab-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ A user-assigned managed identity is created as a standalone Azure resource.
4747

4848
DevTest Labs supports user assigned identities for both virtual machines and Azure Resource Manager based environments. For more information, see the following topics:
4949

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)
5151
- [Add a user-assigned identities to deploy lab virtual machines](enable-managed-identities-lab-vms.md)
5252

5353
## Next steps

‎articles/devtest-labs/enable-managed-identities-lab-vms.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ To add a user assigned managed identity for lab VMs, follow these steps:
2020

2121
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)
2222
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.
2626

27-
![Add identity button](./media/enable-managed-identities-lab-vms/add-identity-button.png)
28-
5. Select an existing **user-managed identity** from the dropped-down list, and select **OK**.
27+
> [!div class="mx-imgBorder"]
28+
> ![Add identity button](./media/enable-managed-identities-lab-vms/add-identity-button.png)
29+
1. Select an existing **user-managed identity** from the dropped-down list, and select **OK**.
2930

30-
![Add identity](./media/enable-managed-identities-lab-vms/add-identity.png)
31+
> [!div class="mx-imgBorder"]
32+
> ![Add identity](./media/enable-managed-identities-lab-vms/add-identity.png)
3133
3234
## Use API
3335

Loading
Loading

‎articles/devtest-labs/use-managed-identities-environments.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,39 @@ ms.date: 06/26/2020
66
---
77

88
# Use Azure managed identities to deploy environments in a lab
9+
910
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.
1011

1112
> [!NOTE]
1213
> Currently, a single user-assigned identity is supported per lab.
1314
1415
## Prerequisites
16+
1517
- [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.
1620

1721
## 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.
1922

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.
2524

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.
32+
2633
![Add user-managed identity](./media/use-managed-identities-environments/add-user-managed-identity.png)
27-
2. You see the added user-managed identity in the list.
28-
29-
![User-managed identity in the list](./media/use-managed-identities-environments/identity-in-list.png)
34+
1. Press **Save** on top of the page.
3035

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.
3237

3338
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.
3439

3540
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**.
3641

37-
![User-managed identity in the list](./media/use-managed-identities-environments/replace-identity.png)
38-
3942
## Use API
4043

4144
1. After creating an identity, note the resource ID of this identity. It should look like the following sample:

0 commit comments

Comments
 (0)
Please sign in to comment.