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,572 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).
850 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 7,200 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