Using latest Azure CLI tools for VS Code 0.4.2
Steps to reproduce the issue:
-
Typing in .azcli file
az group create
Intellisense suggesting --rg-name as required argument for group name. There is also missing help (stuck in Loading)
-
Right-click and Run line in the terminal
az group create --rg-name myGroup2 \
--location westeurope --tags 'Environment=Test'
-
Output
az group show: error: argument --name/-n/--resource-group/-g is required


Solution:
pass argument -n or --name for resource group name