Could not find a way to list security groups having permissions to a repo
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
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.

---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 9ab02309-1484-154f-9e4a-b6d851405b5f
* Version Independent ID: 771865f9-8563-3015-8942-30cee27432ae
* Content: [az repos policy build](https://docs.microsoft.com/en-us/cli/azure/repos/policy/build?view=azure-cli-latest&source=docs)
* Content Source: [latest/docs-ref-autogen/repos/policy/build.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/repos/policy/build.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.