Skip to content

Commit 00a469e

Browse files
committed
updates
1 parent aab2703 commit 00a469e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

articles/deployment-environments/tutorial-deploy-environments-in-cicd-azure-devops.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ To create project environment types:
8686

8787
1. Confirm that the environment type appears in the list.
8888

89-
9089
## Configure a service connection
9190

9291
In Azure Pipelines, you create a *service connection* in your Azure DevOps project to access resources in your Azure subscription. When you create the service connection, Azure DevOps creates a Microsoft Entra service principal object.
@@ -106,16 +105,14 @@ In Azure Pipelines, you create a *service connection* in your Azure DevOps proje
106105
| **Service Connection Name** | Enter a unique name for the service connection. |
107106
| **Grant access permission to all pipelines** | Select the checkbox. |
108107

109-
1. In the list of service connections, select the one you just created, and then select **Manage Service Principal**.
110-
The Azure portal opens in a separate browser tab and shows the service principal details.
111-
1. In the Azure portal, copy the **Display name** value.
112-
You use this value in the next step to grant permissions for running load tests to the service principal.
113-
114108
### Grant the service connection access to the Deployment Environments project
115109

116110
Deployment Environments uses role-based access control to grant permissions for performing specific activities on your Deployment Environments resource. To make changes from a CI/CD pipeline, you grant the Deployment Environments User role to the service principal.
117111

118112
1. In the [Azure portal](https://portal.azure.com/), go to your Deployment Environments project.
113+
1. 1. In the left menu, under **Settings**, select **Identity**.
114+
1. On the **System assigned** tab, set the **Status** to **On**.
115+
1. Select **Save**, and then confirm that you want to enable the identity.
119116
1. Select **Access control (IAM)** > **Add** > **Add role assignment**.
120117
1. On the **Role** tab, select **Deployment Environments User** in the list of job function roles.
121118
1. On the **Members** tab, select **Select members**, and then use the display name you copied previously to search for the service principal.
@@ -128,7 +125,7 @@ You can now use the service connection in your Azure Pipelines workflow definiti
128125

129126
To view environments created by other users, including the service connection, you need to grant your account read access to the Deployment Environments project.
130127

131-
1. In the [Azure portal](https://portal.azure.com/), go to your Deployment Environments project.
128+
1. In the [Azure portal](https://portal.azure.com/), go to your Deployment Environments project.
132129
1. Select **Access control (IAM)** > **Add** > **Add role assignment**.
133130
1. On the **Role** tab, select **Deployment Environments Reader** in the list of job function roles.
134131
1. On the **Members** tab, select **Select members**, and then search for your own account.

0 commit comments

Comments
 (0)