You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In powershell, when a services throws a Microsoft.Rest.Azure.CloudException (from the AutoRest world) the message is populated as follows:
"Exception of type 'Microsoft.Rest.Azure.CloudException' was thrown." This is not a particularly useful message for the end user. After debugging, it appears that this is now how the CloudExceptions are thrown by default in AutoRest, with the actual message of the exception in the WebResponse.
This issue tracks fixing CloudException logging/reporting to be the same as it was previously with hyak generated clients that threw Hyak.Common.CloudExceptions.