Search code examples
securityazure-devopsdevopsazure-devops-server-2019

Deployment Groups - You do not have permissions to register targets. Contact your release manager to grant permissions


Coming across an issue in Azure DevOps Server (On-prem) 2019 Patch 1.1 where when 1 person creates a 'Deployment Group' under a project - no one else can register a target, as they see an alert stating: 'You do not have permissions to register targets. Contact your release manager to grant permissions.'

enter image description here

In this particular case I was explicitly made an administrator of the deployment group as a last ditch effort and I still see this message. I am a collection admin and have every right under the sun as far as I can tell under the main security tab under the collection.

enter image description here

enter image description here

What is the correct way to grant user permissions to avoid this alert and allow everyone to register targets for a deployment group in a project?


Solution

  • When you create a deployment group in a project, it will actually create a deployment pool at the organization level.

    Org Level:

    enter image description here

    Project Level:

    enter image description here

    You likely need to configure the deploy pool security at the root level (so it inherits) since it is empty by default:

    enter image description here