In the Function App, go to the "Deployment Center" blade, and click on the "Disconnect" button on top.
After that re-run the release pipeline.
HTH
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I deploy my Windows FunctionApp to a slot I get this error:
2021-05-04T13:10:14.0501876Z ##[error]Failed to deploy web package to App Service.
2021-05-04T13:10:14.0521125Z ##[error]Error: Package deployment using ZIP Deploy failed. Refer logs for more details.
Strangly there is no problem when I deploy the same release pipeline to production with this option "Deploy to Slot or App Service Environment" unchecked.
Since its working for production for me this is very weird...So do anybody have an idea whats going on?
In the Function App, go to the "Deployment Center" blade, and click on the "Disconnect" button on top.
After that re-run the release pipeline.
HTH
@Malte Tönjes Welcome to Microsoft Q&A! Thanks for posting the question.
As per the error message you are doing the Zip deployment. Can you please confirm if you have configured any other deployments like bitbucket, GitHub, etc for your function app? If this is the case, then you could observe the above issue.
Hi @MayankBargali-MSFT ,
I am trying to deploy a python flask app from GitHub but it gives me this same error-
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer to the logs for more details.
My Github repo structure is -
static
templates
Procfile
README.md
app
requirements
runtime
This is the repo link - https://github.com/vinrok/LoanPredictionApp
Kindly help me to solve this.