Function app zip deployment showing status successful but changes not reflecting in portal

Krishna M S 1 Reputation point
2022-03-14T09:35:03.337+00:00

We have a function app. After CI/CD pipeline execution, the changes are not getting reflected in the portal. In scm(kudu) the changes are present but in the Azure portal function app the changes are not reflecting. Also the fucntion app is showing health status as unavailable, but could not find any service unavailability issues when checked in the Azure services health across regions. The function app uses elastic premium service plan.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,506 Reputation points
    2022-03-17T09:29:47.077+00:00

    @Krishna M S ,

    Thanks for reaching out to Q&A.

    The WEBSITE_RUN_FROM_PACKAGE app setting only supports 1 and url values. It will not accept the value if it is set to true in the app settings. I hope you are using either function app deploy or app service deploy task in the devops pipeline. If setting the WEBSITE_RUN_FROM_PACKAGE value to 1 doesnt work, please try the url approach. Please note that, the pipeline logs may show that the setting is set to true but check the app settings in the portal as it has to be set to 1.

    https://learn.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package#enable-functions-to-run-from-a-package

    I hope this helps! Feel free to reach out to me if you have any further queries.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


  2. Srikar 0 Reputation points
    2023-04-07T07:38:39.3066667+00:00

    Hi, Ive replicated a similar issue, where Ive uploaded the zip file and the status as per this documentation, https://learn.microsoft.com/en-us/azure/digital-twins/tutorial-end-to-end#code-try-18 ,is showing 202 - which is successful, but when i try to retrieve the uploaded function it shows that there's no function uploaded - as per the following line. az functionapp function show --resource-group <your-resource-group> --name <your-function-app> --function-name ProcessDTRoutedData
    output: (NotFound) Error retrieving function.

    0 comments No comments

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.