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/deployment-environments/tutorial-deploy-environments-in-cicd-azure-devops.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,9 @@ To create project environment types:
91
91
92
92
In Azure Pipelines, you create a *service connection* in your Azure DevOps project to access resources in your Azure subscription.
93
93
94
+
1. If you don't have a user-assigned managed identity for the project, [add one](/entra/identity/managed-identities-azure-resources/how-manage-user-assigned-managed-identities?pivots=identity-mi-methods-azp#create-a-user-assigned-managed-identity).
95
+
> [!NOTE]
96
+
> You can use one of three options for identity: app registration, user-assigned managed identity, and system-assigned managed identity. App registration is the most secure option, and user-assigned managed identity is the second most secure. To use app registration, you need to have appropriate permissions. For more information see [Azure Resource Manager service connection special cases](/azure/devops/pipelines/library/azure-resource-manager-alternate-approaches).
94
97
1. Sign in to your Azure DevOps organization (`https://dev.azure.com/<your-organization>`). Replace `<your-organization>` with your project identifier.
|**Subscription ID**| Enter the ID of the Azure subscription that hosts your dev center resource. |
105
111
|**Subscription name**| Enter the name of the subscription. |
@@ -111,10 +117,8 @@ In Azure Pipelines, you create a *service connection* in your Azure DevOps proje
111
117
112
118
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 managed identity.
113
119
114
-
1. Go to the [Azure portal](https://portal.azure.com/).
115
-
1. If you don't have a user-assigned managed identity for the project, [add one](/entra/identity/managed-identities-azure-resources/how-manage-user-assigned-managed-identities?pivots=identity-mi-methods-azp#create-a-user-assigned-managed-identity).
116
-
> [!NOTE]
117
-
> You can use one of three options for identity: app registration, user-assigned managed identity, and system-assigned managed identity. App registration is the most secure option, and user-assigned managed identity is the second most secure. To use app registration, you need to have appropriate permissions. For more information see [Azure Resource Manager service connection special cases](/azure/devops/pipelines/library/azure-resource-manager-alternate-approaches).
120
+
121
+
118
122
1. In the [Azure portal](https://portal.azure.com/), go to your Deployment Environments project.
119
123
1. Select **Access control (IAM)** > **Add** > **Add role assignment**.
120
124
1. On the **Role** tab, select **Deployment Environments User** in the list of job function roles.
0 commit comments