Open kalirajann opened 2 years ago
@zhoxing-ms for awareness
@shenglol Could you please help take a look at the what-if
related issue?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.
Author: | kalirajann |
---|---|
Assignees: | zhoxing-ms |
Labels: | `Service Attention`, `question`, `ARM`, `customer-reported`, `Auto-Assign`, `Azure CLI Team` |
Milestone: | Backlog |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @satyavel, @apclouds.
Author: | kalirajann |
---|---|
Assignees: | zhoxing-ms |
Labels: | `Service Attention`, `question`, `ARM - Templates`, `customer-reported`, `Auto-Assign`, `Azure CLI Team` |
Milestone: | Backlog |
@kalirajann Can you elaborate on this? On error cases What-If is expected to return error details since that's part of the contract: https://github.com/Azure/azure-rest-api-specs/blob/81cd88a080c4bf4bb251afbe62892a6e220cb2b4/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json#L6353.
$output = az deployment group what-if --resource-group {} --name {} --template-file {} --parameters {} - While running this command, we are able to capture the success and changes. But, unable to capture the error details in an object and always sets null.
$output is powershell object.
$output = az deployment group what-if --resource-group {} --name {} --template-file {} --parameters {} - While running this command, we are able to capture the success and changes. But, unable to capture the error details in an object.
We are facing many challenges to find the cause for the issue in controlled environment