Edit

Share via


Troubleshoot Azure Web App tasks and deployment issues

This article helps you troubleshoot various issues related to Azure Web App tasks and deployments.

Tasks documentation

As a first step, we recommend you review the documentation for the following tasks and ensure that all the parameters are correctly defined in the tasks used in the pipelines.

Also, refer to the readme.doc in the GitHub repo and this Deploy to Azure article for details about the usage of these tasks.

If the task configuration looks fine, refer to the next steps for capturing debug logs.

Debug logs and tips for further debugging

Debug logs provide important details to help diagnose and troubleshoot issues related to Azure Web App tasks and deployments. Follow these steps to collect logs and further investigate these issues:

  1. Enable debug logs by setting system.debug to True in the pipeline.

  2. If possible, enable verbose logging from the Azure service side.

  3. Review details related to Azure services, like networking, to see if it's restricted for public network access, if IPs are open for public network access, or if other network configurations may impact the issue. Also, verify the resource group name and region of the service.

  4. If you noticed that the issue started happening suddenly, review the success and failure logs to check for any changes to the task or agent versions.

  5. If you're using the Microsoft-hosted agent, check the runner-images documentation for any recent updates related to the Azure module that might have broken the pipeline.

  6. Check the Azure DevOps status history and the Azure status history to find out if there are any outages.