Skip to content

Commit 44532ba

Browse files
Merge pull request #7879 from MicrosoftDocs/users/sdanie/424695
MDP ADO permissions prerequisite
2 parents 6f5f642 + d85b904 commit 44532ba

File tree

7 files changed

+93
-10
lines changed

7 files changed

+93
-10
lines changed

docs/managed-devops-pools/configure-security.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configure security
33
description: Learn how to configure security settings for Managed DevOps Pools.
4-
ms.date: 04/25/2025
4+
ms.date: 07/11/2025
55
---
66

77
# Configure Managed DevOps Pools security settings
@@ -15,11 +15,18 @@ Be default, Managed DevOps Pools are configured for a single organization, with
1515
* [Use pool with a single organization](#use-pool-with-a-single-organization)
1616
* [Use pool in multiple organizations](#use-pool-in-multiple-organizations)
1717

18+
> [!NOTE]
19+
> If you configure your pool with access granted to all projects, the pool is added to the projects for which you have the appropriate permissions.
20+
>
21+
> If you configure your pool with access granted to specific projects, you must have permission to add the pool in all of the designated projects, or the pool creation fails.
22+
>
23+
> To see the permissions required to configure Managed DevOps Pools in your organization and projects, see [Prerequisites - Verify Azure DevOps permissions](./prerequisites.md#verify-azure-devops-permissions).
24+
1825
### Use pool with a single organization
1926

2027
#### [Azure portal](#tab/azure-portal/)
2128

22-
By default, Managed DevOps Pools is configured for use with a single Azure DevOps organization that you specify when you create the pool. When your pool is configured for a single organization, the organization name is displayed and configured in Pool settings
29+
By default, Managed DevOps Pools is configured for use with a single Azure DevOps organization that you specify when you create the pool. When your pool is configured for a single organization, the organization name is displayed and configured in **Pool** settings.
2330

2431
By default, **Add pool to all projects** is set to **Yes**, and access to the Managed DevOps Pool is granted to all projects in the organization. Choose **No** to specify a list of projects to limit which projects in your organization can use the pool.
2532

@@ -354,7 +361,7 @@ The following example shows the `osProfile` section of the **fabric-profile.json
354361

355362
## Pool administration permissions
356363

357-
As part of the Managed DevOps Pool creation process, an organization level agent pool is created in Azure DevOps. The **Pool administration permissions** setting specifies which users are granted the administrator role of the newly created Azure DevOps pool. To view and manage the Azure DevOps agent pool permissions after the Managed DevOps Pool is created, see [Create and manage agent pools - Security of agent pools](/azure/devops/pipelines/agents/pools-queues#security).
364+
As part of the Managed DevOps Pool creation process, an agent pool is created at the Azure DevOps organization level, and a project level agent pool is created in each designated project. The **Pool administration permissions** setting specifies which users are granted the administrator permission on the newly created agent pools in Azure DevOps. To view and manage the Azure DevOps agent pool permissions after the Managed DevOps Pool is created, see [Create and manage agent pools - Security of agent pools](/azure/devops/pipelines/agents/pools-queues#security).
358365

359366
#### [Azure portal](#tab/azure-portal/)
360367

11.6 KB
Loading
36.5 KB
Loading
34.1 KB
Loading
36.6 KB
Loading
33.4 KB
Loading

docs/managed-devops-pools/prerequisites.md

Lines changed: 83 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Prerequisites for Managed DevOps Pools
33
description: Learn how to configure your Azure subscription and Azure DevOps organization for use with Managed DevOps Pools.
4-
ms.date: 04/30/2025
4+
ms.date: 07/11/2025
55
---
66

77
# Prerequisites for Managed DevOps Pools
@@ -32,7 +32,7 @@ To use Managed DevOps Pools, register the following resource providers with your
3232
| **Microsoft.DevOpsInfrastructure** | Resource provider for Managed DevOps Pools |
3333
| **Microsoft.DevCenter** | Resource provider for dev center and dev center project |
3434

35-
Registering a resource provider uses the `/register/action` operation. Permission to perform this operation is included if your account is assigned the [contributor or owner role](/azure/role-based-access-control/built-in-roles) on your subscription.
35+
Registering a resource provider uses the `/register/action` operation. Permission to perform this operation is included if the [contributor or owner role](/azure/role-based-access-control/built-in-roles) on your subscription is assigned to your account.
3636

3737

3838
#### [Azure portal](#tab/azure-portal/)
@@ -218,12 +218,88 @@ To create a Managed DevOps Pool in your Azure DevOps organization, your Azure De
218218

219219
## Verify Azure DevOps permissions
220220

221-
When you create a Managed DevOps Pool, the account you use to sign in to the Azure subscription that contains your Managed DevOps Pool is used to create a corresponding agent pool in your Azure DevOps organization. To successfully create a Managed DevOps Pool, your account must have one of the following permissions in your Azure DevOps organization. These permissions are listed in order from least privileged to most privileged.
221+
When you create a Managed DevOps Pool, the account you use to sign in to the Azure subscription that contains your Managed DevOps Pool is used to create a corresponding agent pool in your Azure DevOps organization. To successfully create a Managed DevOps Pool, your account must have the following permissions in your Azure DevOps organization.
222222

223-
| Permission | Description | Granted by |
224-
|------------|-------------|------------|
225-
| **Organization-level Agent pools administrator** | Administrators of agent pools at the organization level can [create new agent pools as well as perform all operations on them at the organization level](../organizations/security/about-security-roles.md#agent-pool-security-roles-organization-or-collection-level). | A [Project Collection Administrator](../organizations/security/look-up-project-collection-administrators.md) or another **Organization-level Agent pools administrator** can add users to this group and grant them the administrator role. For more information, see [Set organization security for all agent pools](../pipelines/policies/permissions.md#set-organization-security-for-all-agent-pools). |
226-
| **Project Collection Administrator** | The Project Collection Administrators group is the main administrative security group defined for an organization and can perform all operations in an Azure DevOps organization, including creating new pools. | Other project collection administrators can add users to this group. For information about this group and how to see its members, see [Look up a project collection administrator](../organizations/security/look-up-project-collection-administrators.md). |
223+
| Permission | Description |
224+
|------------|-------------|
225+
| [Azure DevOps organization member](#verify-membership-in-the-azure-devops-organization) | You must be a member of the Azure DevOps organization where you want to create Managed DevOps Pools. |
226+
| [Organization level agent pools administrator](#organization-level-agent-pools-administrator) | You must have agent pool **Administrator** permissions at the organization level in the Azure DevOps organization where you want to create Managed DevOps Pools. |
227+
| [Project level agent pools administrator or creator](#project-level-agent-pools-administrator-or-creator) | You must have **Administrator** or **Creator** agent pool permissions at the project level for each project in which you want to make your Managed DevOps Pool available to pipelines. |
228+
229+
### Verify membership in the Azure DevOps organization
230+
231+
You must be a member of the Azure DevOps organization before the permissions in this section can be granted to your account.
232+
233+
> [!TIP]
234+
> If you are currently working in the Azure DevOps organization, for example using Azure Boards, working with Azure Repos, or using Azure Pipelines, you are already a member of the Azure DevOps organization, and you can skip this step.
235+
236+
To verify your membership in the Azure DevOps organization, go to `https://dev.azure.com/{organization}/_settings/users`, replacing `{organization}` with the name of your Azure DevOps organization.
237+
238+
* If you are denied access to the page, you are not a member of the Azure DevOps organization. You must be [added as a member](../organizations/accounts/add-organization-users.md#add-users-to-your-organization) by an administrator of the Azure DevOps organization.
239+
* If you can access the page, review the user list and verify that you are a member of the Azure DevOps organization. If you don't see your account listed, you must be [added as a member](../organizations/accounts/add-organization-users.md#add-users-to-your-organization) by an administrator of the Azure DevOps organization.
240+
241+
### Organization level agent pools administrator
242+
243+
You must have Organization level agent pools **Administrator** permissions for each organization where you want to create Managed DevOps Pools.
244+
245+
You can be directly granted the **Organization-level agent pools administrator** permission by a [Project Collection Administrator](../organizations/security/look-up-project-collection-administrators.md) or another **Organization-level Agent pools administrator**, and you are granted this permission automatically if you are a [Project Collection Administrator](../organizations/security/look-up-project-collection-administrators.md).
246+
247+
To check your agent pools permissions at the organization level:
248+
249+
1. Go to the Azure DevOps portal and sign in to your Azure DevOps organization (`https://dev.azure.com/{your-organization}`).
250+
251+
1. Go to **Azure DevOps** > **Organization settings**.
252+
253+
:::image type="content" source="./media/prerequisites/organization-settings.png" alt-text="Screenshot of Organization settings button.":::
254+
255+
1. Go to **Pipelines** > **Agent pools** > **Security**.
256+
257+
:::image type="content" source="./media/prerequisites/organization-agent-pools.png" alt-text="Screenshot of Organization level agent pools list.":::
258+
259+
You can also go directly to organization level agent pools security settings by going to `https://dev.azure.com/{organization name}/_settings/agentpools`, and choosing **Security**.
260+
261+
1. View the list of user permissions for the organization level agent pools scope. In this example no specific users have been added, so only Project collection administrators have permission to create pools or assign users to this role.
262+
263+
:::image type="content" source="./media/prerequisites/organization-agent-pools-security.png" alt-text="Screenshot of Organization level agent pools security page.":::
264+
265+
1. If you need to create Managed DevOps Pools in this organization, ask a Project collection administrator, or an administrator listed here, to choose **Add**, add you as an administrator, and choose **Save**. For more information, see [Set agent pool security in Azure Pipelines](../pipelines/policies/permissions.md#set-agent-pool-security-in-azure-pipelines).
266+
267+
> [!TIP]
268+
> If the **Add** button is disabled, you don't have permission to create Managed DevOps Pools in this organization.
269+
>
270+
> If the **Add** button is enabled, you do have permission to create Managed DevOps Pools in this organization.
271+
272+
### Project level agent pools administrator or creator
273+
274+
You must have Project level agent pools **Administrator** or **Creator** permissions for each project in which you want to make your Managed DevOps Pool available to pipelines.
275+
276+
* If you create your Managed DevOps Pool with **Add pool to all projects** set to **Yes**, Managed DevOps Pools will configure the pool to be available in all projects for which you have the **Administrator** or **Creator** permission. To use the pool in other projects, you can manually add the pool to the other projects after you are granted the **Administrator** or **Creator** permission for those projects.
277+
* If you provide a list of projects when creating your Managed DevOps Pool, you must have the **Administrator** or **Creator** permission for every listed project or else pool creation fails.
278+
279+
You can be directly granted the **Administrator** or **Creator** permission by a [Project Collection Administrator](../organizations/security/look-up-project-collection-administrators.md), a [Project administrator](../organizations/security/change-organization-collection-level-permissions.md#add-members-to-the-project-administrators-group), or another **Project-level agent pools administrator**. You are granted the **Administrator** role automatically if you are a [Project Collection Administrator](../organizations/security/look-up-project-collection-administrators.md) or [Project administrator](../organizations/security/change-organization-collection-level-permissions.md#add-members-to-the-project-administrators-group).
280+
281+
To check your agent pools permissions at the project level:
282+
283+
1. Go to the Azure DevOps portal and sign in to your Azure DevOps organization (`https://dev.azure.com/{your-organization}`), go to the project where you want to run pipelines using your Managed DevOps Pool, and choose **Project settings**.
284+
285+
:::image type="content" source="./media/prerequisites/project-settings.png" alt-text="Screenshot of Project settings button.":::
286+
287+
1. Go to **Pipelines** > **Agent pools** > **Security**.
288+
289+
:::image type="content" source="./media/prerequisites/project-agent-pools.png" alt-text="Screenshot of Project level agent pools list.":::
290+
291+
You can also go directly to project level agent pools security settings by going to `https://dev.azure.com/{organization name}/{project name}/_settings/agentqueues`, and choosing **Security**.
292+
293+
1. View the list of user permissions for the project level agent pools scope. In this example no specific users have been added, so only the default project level group administrators (and Project collection administrators) have permission to create pools at the project level, or assign users to this role.
294+
295+
:::image type="content" source="./media/prerequisites/project-agent-pools-security.png" alt-text="Screenshot of Project level agent pools security page.":::
296+
297+
1. If you need to create Managed DevOps Pools for use in this Project, ask a Project collection administrator, a Project administrator (or anyone in one of the listed administrator groups), or an administrator listed here, to choose **Add**, add you as an **Administrator** or **Creator**, and choose **Save**. For more information, see [Set agent pool security in Azure Pipelines](../pipelines/policies/permissions.md#set-agent-pool-security-in-azure-pipelines).
298+
299+
> [!TIP]
300+
> If the **Add** button is enabled, you have permission to create Managed DevOps Pools for use in this project.
301+
>
302+
> If the **Add** button is disabled, you don't have permission to create Managed DevOps Pools for use in this project, unless you have the **Creator** permission, in which case your name (or the name of a group for which you are a member) would be listed in the **User permissions** list as having the **Creator** permission.
227303
228304
## Next steps
229305

0 commit comments

Comments
 (0)