Search code examples
azure-devopsazure-pipelines-release-pipelineazure-aks

Access denied. Needs Use permissions for pool Default to perform the action


I get following error when trying to save a release pipeline on Azure dev. What exact permissions do I need to ask from my administrator?

Access denied. <<user id>> needs Use permissions for pool Default to perform the action. For more information, contact the Azure DevOps Server administrator.

Solution

  • What exact permissions do I need to ask from my administrator?

    You need ask the User permissions from administrator.

    When we go to Project Settings->Agent pools->The Agent Name->Security:

    enter image description here

    Check the document Security of agent pools for some more details.

    Roles are also defined on each organization agent pool, and memberships in these roles govern what operations you can perform on an agent pool.

    The All agent pools node in the Agent pools tab is used to control the security of all project agent pools in a project. Role memberships for individual project agent pools are automatically inherited from those of the 'All agent pools' node. By default, the following groups are added to the Administrator role of 'All agent pools': Build Administrators, Release Administrators, Project Administrators.

    So, you should ask User permissions from your administrator, or add your account to one of the groups mentioned above, then try it again.