Open benjamin-brady opened 2 months ago
Hi @benjamin-brady,
2.61.0 is not the latest Azure CLI(2.63.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
I have upgraded to the latest CLI (2.63.0) and the issue is still there.
Describe the bug
When invoking a run-command on a VMSS instance it's not possible to tell what the possible values of command IDs is. The help text tells the user to use the command
az vmss run-command list
which returns zero results. However it's possible to use--command-id RunShellScript
but this is not documented in the help text below or from the listing the command-ids.Help text:
Listing command-ids: The returned command-ids should have values for
RunShellScript
andRunPowerShellScript
An example of a working command to invoke a run-command: Note that RunShellScript can be used for the command-id arg.
Related command
az vmss run-command invoke --help
Errors
No errors - just poor quality help text
Issue script & Debug output
n/a
Expected behavior
The help tells me I can use RunShellScript or RunPowerShellScript as valid command IDs.
Environment Summary
Additional context
No response