Closed adeal closed 5 years ago
@dealaus The top level server message should be visible in the thrown error.
Note that Resolve-AzError
is meant to provide additional information on errors (and does provide the server massage), but should not be required to get this minimal level of information
Closing as this is planned for general resolution in the upcoming Az 4 preview, and there is a mitigation for current cmdlets
Description
This cmdlet does not have a good error experience. It seems to always throw an aggregate exception even in the presence of a single error. This requires users to dig into the
$error
object to determine the real failure reason.Steps to reproduce
Environment data
Module versions
Debug output
Error output