Azure-docs: ARO v4 On Boarding Script CLI syntax error (az group deployment)

Created on 31 May 2020  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

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

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Azure-Monitosvc Pri1 cxp doc-bug triaged

Most helpful comment

@mohamedsaif Thanks again for bringing this to our notice. I see that you are also created a GitHub issue in respective OMS-docker repo. I have created a PR to update the Az group deployment syntax in the script. Once its reviewed and approved the script will update accordingly.

Hope the above information helps. At this point it appears that there's no further edits or updates needed to the documentation. We will go ahead and close this issue, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you

All 2 comments

@mohamedsaif Thank you for bringing this to our notice, we will look into it and get back to you at the earliest.

@mohamedsaif Thanks again for bringing this to our notice. I see that you are also created a GitHub issue in respective OMS-docker repo. I have created a PR to update the Az group deployment syntax in the script. Once its reviewed and approved the script will update accordingly.

Hope the above information helps. At this point it appears that there's no further edits or updates needed to the documentation. We will go ahead and close this issue, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DeepPuddles picture DeepPuddles  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments