I want to update some values (and secrets) automatically in an Azure Library variable group from an Azure Pipeline. For this I need to pass in the variable group id, 123 in the example below:
# yml pipeline file
echo $AZURE_DEVOPS_CLI_PAT | az devops login
az pipelines variable-group variable update --group-id 123 --name librarySecret --value $(somePipelineVar) --output table
Command updates 'librarySecret' with a the value of 'somePipelineVar'.
Where can I find the variable group id?