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
## Configure a managed identity to add Azure DevOps artifact repo
24
-
25
-
Before you can add an artifact repository to a lab, you must configure a managed identity, also called a Managed Service Identity (MSI).
26
-
To learn more about managed identities, see [What are managed identities for Azure resources?](/entra/identity/managed-identities-azure-resources/overview)
27
-
28
23
## Add an artifact repo
29
24
30
-
You can add an artifact repo from an Azure Repos repository or a GitHub repository. You can choose to authenticate by assigning permissions to an MSI, GitHub app authentication, or by using a PAT.
25
+
You can add an artifact repo from an Azure Repos repository or a GitHub repository. You can choose to authenticate by assigning permissions to a managed identity, by using GitHub app authentication, or by using a PAT.
26
+
To learn more about managed identities, see [What are managed identities for Azure resources?](/entra/identity/managed-identities-azure-resources/overview)
31
27
32
28
Select the tab for the type of repository and authentication you want to use.
33
29
@@ -49,10 +45,16 @@ You must give the managed identity permissions to the repository in Azure Repos.
49
45
50
46
1. Select **Organization settings**.
51
47
48
+
:::image type="content" source="media/devtest-lab-add-repo/devops-organization-settings.png" alt-text="Screenshot showing the Azure DevOps organization page, with Organization Settings highlighted." lightbox="media/devtest-lab-add-repo/devops-organization-settings.png":::
49
+
52
50
1. On the **Overview** page, select **Users**.
53
51
52
+
:::image type="content" source="media/devtest-lab-add-repo/devops-organization-overview.png" alt-text="Screenshot showing the Organization overview page, with Users highlighted." lightbox="media/devtest-lab-add-repo/devops-organization-overview.png":::
53
+
54
54
1. On the **Users** page, select **Add users**.
55
55
56
+
:::image type="content" source="media/devtest-lab-add-repo/devops-add-user.png" alt-text="Screenshot showing the Users page, with Add user highlighted." lightbox="media/devtest-lab-add-repo/.png":::
57
+
56
58
1. Complete **Add new users** by entering or selecting the following information, and then select **Add**:
57
59
58
60
|Name |Value |
@@ -63,6 +65,8 @@ You must give the managed identity permissions to the repository in Azure Repos.
|**Send email invites (to Users only)**|Clear the checkbox.|
65
67
68
+
:::image type="content" source="media/devtest-lab-add-repo/devops-add-user-blade.png" alt-text="Screenshot showing Add users, with example entries and Add highlighted." lightbox="media/how-to-configure-catalog/devops-add-user-blade.png":::
69
+
66
70
### Add an Azure DevOps artifact repository to a lab in the Azure portal
67
71
68
72
1. On the lab's **Overview** page, select **Configuration and policies** from the left navigation.
@@ -80,12 +84,12 @@ You must give the managed identity permissions to the repository in Azure Repos.
80
84
-**Name**: A repository name to use in the lab.
81
85
-**Git clone URL**: The Git HTTPS clone URL from GitHub or Azure Repos.
82
86
-**Branch** (optional): The branch that has your artifact definitions.
83
-
-**Managed Identity**: Use this option to leverage the Managed Identity for authentication.
84
87
-**Folder paths**: The folder for your ARM template definitions, relative to the Git clone URL. Be sure to include the initial forward slash in the folder path.
88
+
-**Managed Identity**: Use this option to leverage the Managed Identity for authentication.
85
89
86
90
1. Select **Save**.
87
91
88
-

92
+

89
93
90
94
The repository now appears in the **Repositories** list for the lab.
91
95
@@ -116,12 +120,12 @@ The repository now appears in the **Repositories** list for the lab.
116
120
-**Name**: A repository name to use in the lab.
117
121
-**Git clone URL**: The Git HTTPS clone URL from GitHub or Azure Repos.
118
122
-**Branch** (optional): The branch that has your artifact definitions.
119
-
-**Personal access token**: The personal access token from Azure Repos.
120
123
-**Folder paths**: The folder for your ARM template definitions, relative to the Git clone URL. Be sure to include the initial forward slash in the folder path.
124
+
-**Personal access token**: The personal access token from Azure Repos.
121
125
122
126
1. Select **Save**.
123
127
124
-

128
+

125
129
126
130
The repository now appears in the **Repositories** list for the lab.
127
131
@@ -131,7 +135,7 @@ To add a catalog, complete the following tasks:
131
135
132
136
1. Install and configure the Microsoft Dev Center app
0 commit comments