From dd84e591d8b0184a30b00201c264297c20b7298c Mon Sep 17 00:00:00 2001 From: BharathNimmala-MSFT <45180002+BharathNimmala-MSFT@users.noreply.github.com> Date: Sun, 31 May 2020 12:58:36 -0700 Subject: [PATCH] (AzureCXP) Updating Az Group Deployment syntax Based on customer feedback on below GitHub threads , created this PR to reflect the new az group deployment syntax. https://github.com/microsoft/OMS-docker/issues/415 https://github.com/MicrosoftDocs/azure-docs/issues/56047 --- docs/aroV4/onboarding_azuremonitor_for_containers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/aroV4/onboarding_azuremonitor_for_containers.sh b/docs/aroV4/onboarding_azuremonitor_for_containers.sh index b43c34f7..61fddf19 100644 --- a/docs/aroV4/onboarding_azuremonitor_for_containers.sh +++ b/docs/aroV4/onboarding_azuremonitor_for_containers.sh @@ -197,7 +197,7 @@ echo "workspaceResourceId:"$workspaceResourceId echo "workspaceGuid:"$workspaceGuid echo "adding containerinsights solution to workspace" -solution=$(az deployment group create -g $defaultWorkspaceResourceGroup --template-uri https://raw.githubusercontent.com/microsoft/OMS-docker/ci_feature_prod/docs/templates/azuremonitor-containerSolution.json --parameters workspaceResourceId=$workspaceResourceId --parameters workspaceRegion=$workspaceRegion) +solution=$(az group deployment create -g $defaultWorkspaceResourceGroup --template-uri https://raw.githubusercontent.com/microsoft/OMS-docker/ci_feature_prod/docs/templates/azuremonitor-containerSolution.json --parameters workspaceResourceId=$workspaceResourceId --parameters workspaceRegion=$workspaceRegion) echo "getting workspace primaryshared key" workspaceKey=$(az rest --method post --uri $workspaceResourceId/sharedKeys?api-version=2015-11-01-preview --query primarySharedKey)