I am unable to deploy a PHP webpackage using the pipeline.from Azure Repos. I get Error 400.

odsbyz 6 Reputation points
2021-03-18T22:09:07.727+00:00

I have a Web app on Linux. I am unable to redeploy my web package through Pipeline using Azure repos. I keep getting the following error 400 ( please see the screen shot below).

Deploy Azure Web App : hatchleaf

View raw log

Starting: Deploy Azure Web App : hatchleaf

Task : Azure Web App
Description : Deploy an Azure Web App for Linux or Windows
Version : 1.184.3
Author : Microsoft Corporation

Help : https://aka.ms/azurewebapptroubleshooting

Got service connection details for Azure App Service:'hatchleaf'
Package deployment using ZIP Deploy initiated.

[error]Failed to deploy web package to App Service.

[error]To debug further please check Kudu stack trace URL : https://$hatchleaf:***@hatchleaf.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace

[error]Error: Error: Failed to deploy web package to App Service. Bad Request (CODE: 400)

Successfully updated deployment History at https://hatchleaf.scm.azurewebsites.net/api/deployments/461616100476274
App Service Application URL: http://hatchleaf.azurewebsites.net
Finishing: Deploy Azure Web App : hatchleaf

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,251 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,956 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,646 Reputation points Microsoft Employee
    2021-03-18T23:46:37.077+00:00

    Thank you for reaching out! Since it looks like you are running into an issue with Azure Repos, we want to make sure that you are getting the best answer possible. Azure DevOps and its services are not supported in Microsoft Q&A because the Azure DevOps team and DevOps community are actively answering questions here:

    https://developercommunity.visualstudio.com/spaces/21/index.html

    Related answers:
    https://github.com/microsoft/azure-pipelines-tasks/issues/8657
    https://stackoverflow.com/questions/65098456/error-error-failed-to-deploy-web-package-to-app-service-bad-request-code-40

    0 comments No comments