Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@caatclaudia

Description

@caatclaudia

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

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

Screenshots
See above ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureFeature Work required.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions