Azure Function not being created after succesfull Kudu zip deployment - Run From Package

Pexers 21 Reputation points
2022-03-26T19:53:42.85+00:00

Hello,

I have a Function App for Java runtime and I'm trying to make a ZIP push deployment using the Kudu REST API.
The deployment says successful all the time but the azure function never gets created. I'm using the configuration "WEBSITE_RUN_FROM_PACKAGE = 1" also.

What am I doing wrong here ?

![187139-image.png187165-image.png
187157-image.png187146-image.png

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,990 questions
0 comments No comments
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,476 Reputation points
    2022-03-27T16:06:33.9+00:00

    @Pexers-0532 ,

    Thanks for reaching out to Q&A.

    The contents in the zip file should be dlls and not the entire content of the source code ( I can see the localsettings.json and the entier src folder). It appears that the build step is missing. Make sure you build the function app and then deploy to the Azure functions runtime.

    https://github.com/projectkudu/kudu/wiki/Deploying-from-a-zip-file-or-url

    Feel free to reach out to me if you have any questions.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.