Azure / Azure/azure-devops-cli-extension

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

Open
#1,461 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

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 --subject
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 --subject
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](https://github.com/user-attachments/assets/4cccc7e4-d461-4ede-9876-3482d62b4a9b)

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

Screenshots
See above ones

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.