Closed mmaitre314 closed 7 months ago
@balag0 could you help? See if this dynamic function on Linux. If so, likely one need to set WEBSITE_RUN_FROM_PACKAGE to package uri instead of ZipDeploy (not supported).
Looking at the template (and the kudu console screenshot which is not supported on dynamic) this error is from elastic premium app. Adding @sanchitmehta for the right repo for this issue.
Hey recently encountered this issue. @balag0 when trying to deploy Linux function app. Changing WEBSITE_RUN_FROM_PACKAGE to the package URL worked after finding this issue, but I couldn't find any documentation on that option. Adding to that the error message being bad request with no exception info also caused problems.
Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano Azure App Service
Repro steps.
Following wiki ARMTemplate:-RunFromPackage-sample I created the following ARM template with an Azure Function on Linux running from zip package. ARM deployment fails with HTTP 400. Going through the code it looks like
zipDeploymentInfo.ArtifactFileName
isnull
inPushDeploymentController.WriteSitePackageZip()
here.The ARM template deployment fails with:
Project structures.
Any zipped Azure Function should do.
The log/error given by the failure.
In Kudu Bash Console: