Skip to content

Commit 2aebbed

Browse files
authored
Merge pull request #296055 from v-albemi/project-environment-types
Freshness Edit: Azure Deployment Environments Set 1
2 parents 5d7fa2f + ddd45f0 commit 2aebbed

File tree

1 file changed

+26
-32
lines changed

1 file changed

+26
-32
lines changed

articles/deployment-environments/how-to-configure-project-environment-types.md

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ ms.service: azure-deployment-environments
66
ms.custom: build-2023
77
ms.author: rosemalcolm
88
author: RoseHJM
9-
ms.date: 12/05/2023
9+
ms.date: 03/13/2025
1010
ms.topic: how-to
11+
12+
#customer intent: As a platform engineer, I want to configure project environment types so that I can preconfigure the environments that my team will create.
1113
---
1214

1315
# Configure project environment types
1416

15-
This guide explains how to add environment types to projects in Azure Deployment Environments.
17+
This article explains how to add environment types to projects in Azure Deployment Environments. It also explains how to update, enable, disable, and delete environment types.
1618

1719
Project environment types are a subset of the [environment types configured for a dev center](how-to-configure-devcenter-environment-types.md). They help preconfigure the environments that a specific development team can create.
1820

@@ -25,66 +27,58 @@ Project environment types allow platform engineering teams to:
2527
You can provide subscriptions for environment types in a project to automatically apply the right set of policies on environments. This action also abstracts Azure governance-related concepts from your development teams.
2628
- Preconfigure the managed identity that developers use to perform the deployment, along with the access levels that development teams get after the environment is created.
2729

28-
In this article, you'll learn how to:
29-
30-
* Add a new project environment type.
31-
* Update a project environment type.
32-
* Enable or disable a project environment type.
33-
* Delete a project environment type.
34-
3530
## Prerequisites
36-
Before you configure a project environment type, you need:
3731

3832
- An [environment type at the dev center level](how-to-configure-devcenter-environment-types.md).
3933
- [Write access](/azure/devops/organizations/security/add-users-team-project) to a specific project.
4034

41-
## Add a new project environment type
35+
## Add a project environment type
4236

43-
When you configure a new project environment type, your development teams can use it to create an environment. They'll create the environment in the mapped subscription by using the configured deployment identity, along with permissions granted to resources created as part of the environment. All the associated policies are automatically applied.
37+
When you configure a project environment type, your development teams can use it to create an environment. They'll create the environment in the mapped subscription by using the configured deployment identity, along with permissions granted to resources created as part of the environment. All the associated policies are automatically applied.
4438

45-
Add a new project environment type as follows:
39+
To add a new project environment type:
4640

4741
1. Sign in to the [Azure portal](https://portal.azure.com) and go to Azure Deployment Environments.
4842

49-
1. Select **Projects** from the left pane, and then choose the specific project.
43+
1. In the left pane, under **Configure**, select **Projects**. On the **Projects** page, select the specific project.
5044

51-
1. Select **Environment types** from the left pane.
45+
1. Select **Environment types** in the left pane.
5246

5347
1. Select **+ Add**.
5448

55-
:::image type="content" source="media/configure-project-environment-types/add-new-project-environment-type.png" alt-text="Screenshot that shows selections for adding a project environment type." lightbox="media/configure-project-environment-types/add-new-project-environment-type.png":::
49+
:::image type="content" source="media/configure-project-environment-types/add-new-project-environment-type.png" alt-text="Screenshot that shows how to add a project environment type." lightbox="media/configure-project-environment-types/add-new-project-environment-type.png":::
5650

57-
1. On the **Add environment type to Project** page, provide the following details:
51+
1. On the **Add environment type to \<project>** page, provide the following details:
5852

5953
|Name |Value |
6054
|---------|----------|
6155
|**Type**| Select a dev center environment type to enable for the project.|
6256
|**Deployment subscription**| Select the target subscription in which the environment will be created.|
6357
|**Deployment identity** | Select either a system-assigned managed identity or a user-assigned managed identity that will be used to perform deployments on behalf of the user.|
64-
|**Permissions on environment resources** > **Environment Creator Role(s)**| Select the roles that get access to the environment resources.|
58+
|**Permissions on environment resources** > **Environment creator role(s)**| Select the roles that get access to the environment resources.|
6559
|**Permissions on environment resources** > **Additional access** | Select the users or Microsoft Entra groups that are granted specific roles on the environment resources.|
6660
|**Tags** (optional) | Provide a name and value for tags that are applied on all resources created as part of the environments.|
6761

68-
:::image type="content" source="media/configure-project-environment-types/add-project-environment-type-page.png" alt-text="Screenshot that shows adding details on the page for adding a project environment type." lightbox="media/configure-project-environment-types/add-project-environment-type-page.png":::
62+
:::image type="content" source="media/configure-project-environment-types/add-project-environment-type-page.png" alt-text="Screenshot that shows the page for adding a project environment type." lightbox="media/configure-project-environment-types/add-project-environment-type-page.png":::
6963

7064
> [!NOTE]
71-
> At least one managed identity (system assigned or user assigned) must be enabled for deployment identity. It will be used to perform the environment deployment on behalf of the developer. Additionally, the identity attached to the dev center should be [granted Contributor and User Access Administrator access to the deployment subscription](how-to-configure-managed-identity.md) configured per environment type.
65+
> At least one managed identity (system assigned or user assigned) must be enabled for deployment identity. It will be used to perform the environment deployment on behalf of the developer. Additionally, the identity attached to the dev center should be [granted Contributor and User Access Administrator access to the deployment subscription](how-to-configure-managed-identity.md) that's configured for the environment type.
7266
7367
## Update a project environment type
7468

75-
You can update a project environment type so that it uses a different subscription or deployment identity when developers deploy environments. Updating a project environment type affects only the creation of new environments. Existing environments will continue to exist in the previously mapped subscription.
69+
You can update a project environment type so that it uses a different subscription or deployment identity when developers deploy environments. Updating a project environment type affects only newly created environments. Existing environments will continue to exist in the previously mapped subscription.
7670

77-
Update an existing project environment type as follows:
71+
To update an existing project environment type:
7872

7973
1. In the Azure portal, go to Azure Deployment Environments.
8074

81-
1. Select **Projects** from the left pane, and then choose the specific project.
75+
1. In the left pane, under **Configure**, select **Projects**. On the **Projects** page, select the specific project.
8276

83-
1. Select **Environment types** from the left pane.
77+
1. Select **Environment types** in the left pane.
8478

85-
1. For the environment type that you want to update, select the ellipsis (**...**) on the specific row, then choose **Edit**.
79+
1. On the row of the environment type that you want to update, select the ellipsis (**...**) and then select **Edit**.
8680

87-
1. On the **Edit environment type** page, update the previous configuration, and then select **Submit**.
81+
1. On the **Edit \<environment type>** page, update the configuration, and then select **Update**.
8882

8983
## Enable or disable a project environment type
9084

@@ -94,27 +88,27 @@ When you enable an environment type (or re-enable one that you disabled), develo
9488

9589
1. In the Azure portal, go to Azure Deployment Environments.
9690

97-
1. Select **Projects** from the left pane, and then choose the specific project.
91+
1. In the left pane, under **Configure**, select **Projects**. On the **Projects** page, select the specific project.
9892

99-
1. Select **Environment types** from the left pane.
93+
1. Select **Environment types** in the left pane.
10094

10195
1. Select the environment type to enable or disable.
10296

103-
1. Select **Enable** or **Disable** from the command bar and then confirm.
97+
1. Select **Enable** or **Disable** at the top of the page.
10498

10599
## Delete a project environment type
106100

107101
You can delete a specific project environment type only if no deployed environments in the project are using it. After you delete a project environment type, development teams can't use it to create environments.
108102

109103
1. In the Azure portal, go to Azure Deployment Environments.
110104

111-
1. Select **Projects** from the left pane, and then choose the specific project.
105+
1. In the left pane, under **Configure**, select **Projects**. On the **Projects** page, select the specific project.
112106

113-
1. Select **Environment types** from the left pane.
107+
1. Select **Environment types** in the left pane.
114108

115109
1. Select a project environment type to delete.
116110

117-
1. Select **Delete** from the command bar and then confirm.
111+
1. Select **Delete** at the top of the page, and then confirm.
118112

119113
## Related content
120114

0 commit comments

Comments
 (0)