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/how-to-configure-project-environment-types.md
+21-20Lines changed: 21 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,13 @@ ms.author: rosemalcolm
8
8
author: RoseHJM
9
9
ms.date: 03/13/2025
10
10
ms.topic: how-to
11
+
12
+
#customer intent: As a platform engineer, I want to configure project environment types in order to preconfigure the environments that my team will create.
11
13
---
12
14
13
15
# Configure project environment types
14
16
15
-
This guide explains how to add environment types to projects in Azure Deployment Environments.
17
+
This guide explains how to add environment types to projects in Azure Deployment Environments. It also explains how to updtate, enable, disable, and delete environment types.
16
18
17
19
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.
18
20
@@ -33,26 +35,25 @@ In this article, you'll learn how to:
33
35
* Delete a project environment type.
34
36
35
37
## Prerequisites
36
-
Before you configure a project environment type, you need:
37
38
38
39
- An [environment type at the dev center level](how-to-configure-devcenter-environment-types.md).
39
40
-[Write access](/azure/devops/organizations/security/add-users-team-project) to a specific project.
40
41
41
-
## Add a new project environment type
42
+
## Add a project environment type
42
43
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.
44
+
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.
44
45
45
-
Add a new project environment type as follows:
46
+
To add a new project environment type:
46
47
47
48
1. Sign in to the [Azure portal](https://portal.azure.com) and go to Azure Deployment Environments.
48
49
49
-
1. Select **Projects**from the left pane, and then choose the specific project.
50
+
1. Select **Projects**in the left pane, and then choose the specific project.
50
51
51
-
1. Select **Environment types**from the left pane.
52
+
1. Select **Environment types**in the left pane.
52
53
53
54
1. Select **+ Add**.
54
55
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":::
56
+
:::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":::
56
57
57
58
1. On the **Add environment type to Project** page, provide the following details:
58
59
@@ -65,26 +66,26 @@ Add a new project environment type as follows:
65
66
|**Permissions on environment resources** > **Additional access**| Select the users or Microsoft Entra groups that are granted specific roles on the environment resources.|
66
67
|**Tags** (optional) | Provide a name and value for tags that are applied on all resources created as part of the environments.|
67
68
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":::
69
+
:::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":::
69
70
70
71
> [!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.
72
+
> 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.
72
73
73
74
## Update a project environment type
74
75
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.
76
+
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.
76
77
77
-
Update an existing project environment type as follows:
78
+
To update an existing project environment type:
78
79
79
80
1. In the Azure portal, go to Azure Deployment Environments.
80
81
81
-
1. Select **Projects**from the left pane, and then choose the specific project.
82
+
1. Select **Projects**in the left pane, and then choose the specific project.
82
83
83
-
1. Select **Environment types**from the left pane.
84
+
1. Select **Environment types**in the left pane.
84
85
85
-
1. For the environment type that you want to update, select the ellipsis (**...**) on the specific row, then choose **Edit**.
86
+
1. For the environment type that you want to update, select the ellipsis (**...**) on the specific row, and then choose **Edit**.
86
87
87
-
1. On the **Edit environment type** page, update the previous configuration, and then select **Submit**.
88
+
1. On the **Edit environment type** page, update the configuration, and then select **Submit**.
88
89
89
90
## Enable or disable a project environment type
90
91
@@ -94,9 +95,9 @@ When you enable an environment type (or re-enable one that you disabled), develo
94
95
95
96
1. In the Azure portal, go to Azure Deployment Environments.
96
97
97
-
1. Select **Projects**from the left pane, and then choose the specific project.
98
+
1. Select **Projects**in the left pane, and then choose the specific project.
98
99
99
-
1. Select **Environment types**from the left pane.
100
+
1. Select **Environment types**in the left pane.
100
101
101
102
1. Select the environment type to enable or disable.
102
103
@@ -108,9 +109,9 @@ You can delete a specific project environment type only if no deployed environme
108
109
109
110
1. In the Azure portal, go to Azure Deployment Environments.
110
111
111
-
1. Select **Projects**from the left pane, and then choose the specific project.
112
+
1. Select **Projects**in the left pane, and then choose the specific project.
112
113
113
-
1. Select **Environment types**from the left pane.
0 commit comments