Failing deploy of an Azure function app with node.js

Javier Marquez 0 Reputation points
2024-03-14T08:02:49.9466667+00:00

I have followed the instructions to create my first azure function app and deploy it by using github action. But I can't make it work and there is no enough information to know what's happening:User's image

There is just an error 400, but there is no other message to know how to fix this.

I am in the free plan using a Linux environment function. Any clues on what migth be happening?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,249 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
827 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 4,665 Reputation points
    2024-03-14T09:42:16.27+00:00

    Hi,

    Try removing this WEBSITE_RUN_FROM_PACKAGE=1 from setting and check as Linux Consumption/free model: currently Functions Action deploys directly to the wwwroot folder. It should use WEBSITE_RUN_FROM_PACKAGE=<url> method by default instead (with configuration option to override if needed).

    Kindly check and let us know , Thanks