Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DevOps - permissions issue with deployment groups

Does anyone know where I can set the permission to manage deployment groups in Azure DevOps.

If i click on "deployment groups" in the menu shown here:

enter image description here

I am receiving this message when i click on a deployment group.

enter image description here

The error message states:

You do not have permissions to register targets. Contact your release manager to grant permission

I am a member of both project administrators and build administrators groups.

like image 927
Matt Avatar asked Oct 29 '19 17:10

Matt


People also ask

How deployment Group works on Azure DevOps?

A deployment group is a collection of machines with deployment agents. Each of the machines interacts with Azure Pipelines to coordinate the deployment of the app. Since there is no configuration change required for the build pipeline, the build is triggered automatically after the project is provisioned.

How do I manage permissions in Azure DevOps?

You manage organization-level permissions through the web portal admin context or with the az devops security group commands. Project Collection Administrators are granted all organization-level permissions. Other organization-level groups have select permission assignments.

Which permission do the approvers need on the pipeline?

To make changes to a specific stage in a release pipeline, the user also needs Edit release stage permission. Can edit stage(s) in release pipeline(s). To save the changes to the release pipeline, the user also needs Edit release pipeline permission.


1 Answers

I can reproduce your problem and solve it with the following permission settings.

Click Manage in the Deployment pool

enter image description here

If you get this error you do not have permission to manage this deployment pool's roles to prevent you from modifying permissions in Security. You need to be added to Project Collection Administrators group in organization setting permissions. If you can't be added to the PCA group, you can let the users in the PCA group help you modify it.

enter image description here

Set the user's Role to Administrator in Security, click Save Changes.

enter image description here

After this setting, you will not receive the error message:You do not have permissions to register targets. Contact your release manager to grant permission when you enter the Deployment groups.

like image 143
Hugh Lin Avatar answered Oct 20 '22 06:10

Hugh Lin