'azure devops CI , Update variable from variable group
I using that method for now:
https://docs.microsoft.com/en-us/cli/azure/pipelines/variable-group/variable?view=azure-cli-latest#az-pipelines-variable-group-variable-update
I search method to enter Name variable group and not a group id any ideas?
Solution 1:[1]
--group-id --id
is the Required Parameter about id of the variable group.
You can use az ad group member list --group
to get the group id of the group.
--group -g
is Required Parameter that you should fill Group's object id or display name(prefix also works if there is a unique match).
Then you can update variable from variable group after using the two Required Parameter : --group-id --id
, --name
.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Kangcheng Jin-MSFT |