Description
While attempting to deploy a template I encountered a "Deployment failed" error. The error itself was not out of place, however the styling and usability need to be adjusted.
As-is
- Does not follow defined Error log pattern guidance
- Error should have shown on the
key vault
sub step (not App Service) - Messaging could be improved to be more clear
- For some reason an empty loading bar and message appear after the error:
| | Creating/updating resources
To-be
This uses the basic pattern for any sub-step failure.
Ideally we could have a better and more actionable failure message like:
A key vault with the name already exists in a deleted state. Try again with a new key vault name. If you want to use the existing name, you will need to either recover it by doing x or purge the name by doing y.
However, since we don't control the 1000s of different error messages that come from our resource providers, rewriting every message to be more descriptive doesn't scale.
Feedback welcomed.
cc: @rajeshkamal5050 for sizing & prioritization. @savannahostrowski