Lesstep
Azure Pipelines · App Service · Checked November 9, 2026

Azure Pipelines: "Package deployment using ZIP Deploy failed. Refer logs for more details": which logs, and what they say

The App Service deploy tasks (AzureRmWebAppDeployment@3, @4 and @5, AzureWebApp@1, AzureFunctionApp@1 and @2) send the zip to Kudu, the deployment service on the app's scm site, with isAsync=true, and then ask Kudu every 5 seconds how the deployment is going. This error means the upload itself went through: Kudu unpacked the package, maybe built it, and ended the deployment with the status Failed. The task then prints Kudu's deployment log and stops with this sentence, so the cause is in the lines just above it (the task's source). The most read question on it has been seen over 45,000 times on Stack Overflow, and its asker found nothing helpful in the logs.

What it looks like

When the deploy runs in a pull request's build validation, the required build stays failed until a deploy goes through: Azure DevOps Pull Requests, a plugin for JetBrains IDEs, lists the pull request's branch policies with their state in your IDE, and with Pro runs a failed build policy again once the pipeline is fixed. Its Pipelines tab (version 1.0.86 and later) lists the runs of the repositories you have open and opens a failed task's log in the editor, free to read.

"There is not enough space on the disk" while unpacking

A build ran on the app and failed: Running oryx build...

The task shows no log

Azure DevOps pull requests in IntelliJ IDEA and Rider

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, reads the organization, project and repository from your git remote and lists the pull requests that wait for your review in an IDE tool window, on Azure DevOps Services and on Azure DevOps Server. It shows the branch policies of a pull request with their state, so a required build that has not passed is next to its pull request, and with Pro you run a failed or expired build policy again from there. The review inbox is free; voting, commenting, completing and creating are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps, Azure Pipelines and Azure App Service are trademarks of Microsoft Corporation; GitHub and GitHub Actions are trademarks of GitHub, Inc.; IntelliJ IDEA and Rider are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft, GitHub, Inc. or JetBrains.

More: Can't find loc string for key · an HTTP code after Failed to deploy web package · no zip where the deploy task looks · no space left on the agent · a dotnet command failed · 日本語