azure-devops-cli-extension icon indicating copy to clipboard operation
azure-devops-cli-extension copied to clipboard

[Bug] az devops security permission update doesn't work

Open caatclaudia opened this issue 5 months ago • 0 comments

Describe the bug I run below command to set the permission for a group, but nothing changes. "az devops security permission update --organization https://dev.azure.com/ -- allow-bit 1 --merge true --namespace-id 52d39943-cb85-4d7f-8fa8-c6baac873819 --subject <Descriptor of group> Dcz --token :vstfs:///Classification/TeamProject/

To Reproduce Azure Cli Version: 2.71.0

Azure-Devops extension version: 1.0.1

Steps to reproduce the behavior:

login using az login

Run command "az devops security permission update --organization https://dev.azure.com/ -- allow-bit 1 --merge true --namespace-id 52d39943-cb85-4d7f-8fa8-c6baac873819 --subject <Descriptor of group> Dcz --token :vstfs:///Classification/TeamProject/

Error: "TF50309: The following account does not have sufficient permissions to complete the operation: . The following permissions are needed to perform this operation: Edit project-level information.

But if i try to go to the Group permissions on UI and change this value I am able to do it:

Image

Expected behavior The group's permissions should be updated with API since I have the right permissions to do it.

Screenshots See above ones

caatclaudia avatar Jun 12 '25 16:06 caatclaudia