Skip to content

Commit 9bda93f

Browse files
(AzureCXP) Updating deprecated command
az group deployment is throwing below error This command is implicitly deprecated because command group 'group deployment' is deprecated and will be removed in a future release. Use 'deployment group' instead. So changed the command to reflect it with 'deployment group' command
1 parent ed1958e commit 9bda93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/insights/container-insights-hybrid-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ To first identify the full resource ID of your Log Analytics workspace required
223223
az login
224224
az account set --subscription "Subscription Name"
225225
# execute deployment command to add container insights solution to the specified Log Analytics workspace
226-
az group deployment create --resource-group <resource group of log analytics workspace> --template-file ./containerSolution.json --parameters @./containerSolutionParams.json
226+
az deployment group create --resource-group <resource group of log analytics workspace> --name <deployment name> --template-file ./containerSolution.json --parameters @./containerSolutionParams.json
227227
```
228228
229229
The configuration change can take a few minutes to complete. When it's completed, a message is displayed that's similar to the following and includes the result:

0 commit comments

Comments
 (0)