Skip to content

Commit 2fedf39

Browse files
author
RoseHJM
committed
Added Deployment Environments Reader section
1 parent 36011fe commit 2fedf39

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

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

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 02/26/2024
1212

1313
# Tutorial: Deploy environments in CI/CD by using Azure Pipelines
1414

15-
In this tutorial, you will learn how to integrate Azure Deployment Environments (ADE) into your Azure Pipelines CI/CD pipeline.
15+
In this tutorial, you learn how to integrate Azure Deployment Environments (ADE) into your Azure Pipelines CI/CD pipeline.
1616

1717
Continuous integration and continuous delivery (CI/CD) is a software development approach that helps teams to automate the process of building, testing, and deploying software changes. CI/CD enables you to release software changes more frequently and with greater confidence.
1818

@@ -111,7 +111,7 @@ In Azure Pipelines, you create a *service connection* in your Azure DevOps proje
111111
1. In the Azure portal, copy the **Display name** value.
112112
You use this value in the next step to grant permissions for running load tests to the service principal.
113113

114-
### Grant access to an ADE project
114+
### Grant the service connection access to the ADE project
115115

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

@@ -124,6 +124,18 @@ Azure Deployment Environments uses role-based access control to grant permission
124124

125125
You can now use the service connection in your Azure Pipelines workflow definition to access your ADE environments.
126126

127+
### Grant your account access to the ADE project
128+
129+
To view environments created by other users, including the service connection, you need to grant your account read access to the ADE project.
130+
131+
1. In the [Azure portal](https://portal.azure.com/), go to your ADE project.
132+
1. Select **Access control (IAM)** > **Add** > **Add role assignment**.
133+
1. In the **Role** tab, select **Deployment Environments Reader** in the list of job function roles.
134+
1. In the **Members** tab, select **Select members**, and then search for your own account.
135+
1. Select your account from the list, and then select **Select**.
136+
1. In the **Review + assign tab**, select **Review + assign** to add the role assignment.
137+
138+
You can now view the environments created by your Azure Pipelines workflow.
127139

128140
## Configure a pipeline
129141

@@ -148,8 +160,9 @@ The Azure CLI is a command-line tool that provides a set of commands for working
148160
| `<dev-center-name>` | The name of your dev center. |
149161
| `<project-name>` | The name of your project. |
150162
| `<catalog-name>` | The name of your catalog. |
151-
| `<environment-definition-name>` | Do not change. Defines the environment type that is used. |
152-
| `<environment-name>` | The name of the environment. |
163+
| `<environment-definition-name>` | Do not change. Defines the environment definition that is used. |
164+
| `<environment-type>` | The environment type. |
165+
| `<environment-name>` | Specify a name for your new environment. |
153166
| `<parameters>` | Do not change. References the json file that defines parameters for the environment. |
154167

155168
1. Select **Commit** to save your changes.

0 commit comments

Comments
 (0)