Skip to content

Commit d7ae87b

Browse files
authored
Merge pull request #116209 from tfitzmac/0522operations
fixes MicrosoftDocs/azure-docs#54642
2 parents 47f596e + 669a42a commit d7ae87b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-resource-manager/templates/deployment-history.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Deployment history
33
description: Describes how to view Azure Resource Manager deployment operations with the portal, PowerShell, Azure CLI, and REST API.
44
tags: top-support-issue
55
ms.topic: conceptual
6-
ms.date: 11/26/2019
6+
ms.date: 05/22/2020
77
---
88
# View deployment history with Azure Resource Manager
99

@@ -139,22 +139,22 @@ To get the status message of failed operations, use the following command:
139139

140140
# [Azure CLI](#tab/azure-cli)
141141

142-
To view the deployment operations for deployment to a resource group, use the [az deployment group operation list](/cli/azure/group/deployment/operation?view=azure-cli-latest#az-deployment-group-operation-list) command.
142+
To view the deployment operations for deployment to a resource group, use the [az deployment operation group list](/cli/azure/deployment/operation/group#az-deployment-operation-group-list) command. You must have Azure CLI 2.6.0 or later.
143143

144144
```azurecli-interactive
145-
az deployment group operation list --resource-group ExampleGroup --name ExampleDeployment
145+
az deployment operation group list --resource-group ExampleGroup --name ExampleDeployment
146146
```
147147

148148
To view failed operations, filter operations with **Failed** state.
149149

150150
```azurecli-interactive
151-
az deployment group operation list --resource-group ExampleGroup --name ExampleDeploy --query "[?properties.provisioningState=='Failed']"
151+
az deployment operation group list --resource-group ExampleGroup --name ExampleDeploy --query "[?properties.provisioningState=='Failed']"
152152
```
153153

154154
To get the status message of failed operations, use the following command:
155155

156156
```azurecli-interactive
157-
az deployment group operation list --resource-group ExampleGroup --name ExampleDeploy --query "[?properties.provisioningState=='Failed'].properties.statusMessage.error"
157+
az deployment operation group list --resource-group ExampleGroup --name ExampleDeploy --query "[?properties.provisioningState=='Failed'].properties.statusMessage.error"
158158
```
159159

160160
# [HTTP](#tab/http)

0 commit comments

Comments
 (0)