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
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@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
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