microsoft / OMS-docker

Docker image for OMS (Operations Management Suite) Linux agent.
Other
79 stars 135 forks source link

ARO v4 On Boarding Script CLI syntax error (az group deployment) #415

Closed mohamedsaif closed 4 years ago

mohamedsaif commented 4 years ago

Hi, Regarding the documentations here: https://docs.microsoft.com/en-us/azure/azure-monitor/insights/container-insights-azure-redhat4-setup

This bash script includes invalid CLI command: curl -LO https://raw.githubusercontent.com/microsoft/OMS-docker/ci_feature/docs/aroV4/onboarding_azuremonitor_for_containers.sh

Error:

az deployment: 'group' is not in the 'az deployment' command group. See 'az deployment --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview

Fix: Update the command to the following:

az group deployment create ....

az -v azure-cli 2.1.0