Skip to content

Could not find a way to list security groups having permissions to a repo #20932

@geetika-jain

Description

@geetika-jain

Hi,
I was trying to list all security groups in Azure devops which have been assigned as a security group for a repo.
I was able to list a repo independently with a name or ID using: az repos show --id
I was also able to list a security group using: az devops security group show --org --id
But both the jsons of the above commands doesn't have any overlapping field that I can use to list all security groups bound to a list.
Kindly shed some light on any commands I might not know of. I am trying to list all security groups as in the below screenshot.
image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions