From the course: Microsoft Azure Database Administrator Associate (DP-300) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Monitor and troubleshoot deployments

Monitor and troubleshoot deployments

- Welcome back, this is lesson 11.4: Monitor and Troubleshoot Deployments. When a deployment fails, it could be for a number of reasons, but luckily there are ways to determine the root cause of the error. For example, while deploying a template through the Azure CLI, by simply appending the --debug parameter, the output returns a ton of information and messages, including why the deployment failed. A lot of times the reasons for the errors are simply syntax based. For example, you may not have the correct syntax or information in the template. Another reason for errors is permissions based, meaning you may not have the correct permissions to create the resource or permission to the resource group, for example. The reason for deployment errors usually fall into one of the following areas. You'll get a clear validation error before the deployment even starts when the deployment process detects any syntax errors. Pre-validation errors occur when the script is executed, but an issue is…

Contents