Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
383 stars 1.24k forks source link

Az DevOps Security Page needs examples #2486

Open mtaylorfsmb opened 4 years ago

mtaylorfsmb commented 4 years ago

Trying to test some of these commands and the syntax is unclear and the errors are not useful.

Tried to list permissions for a user account. az devops security permission list --subject user and got an error.

ArgumentParseError: the following arguments are required: --namespace-id/--id
Try this: 'az account list'
Still stuck? Run 'az devops security permission list --help' to view all commands or go to 'https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest' to learn more

None of this is particular useful. An example call that has the correct syntax for this, and the others, would be very helpful.


Document Details

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

ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.

yungezz commented 4 years ago

routing to appropriate team. cc @houk-ms for awareness