Azure Function Deployment for .csx files

Amardeep Aklujkar 26 Reputation points
2020-11-09T14:59:52.777+00:00

Hi Team,
I am trying to deploy Azure function using zip push deployment method.
I have 2 triggers inside my function.
But changes which I have done to .csx files are not getting published to portal.
Please help.

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

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,811 Reputation points Microsoft Employee
    2020-11-13T01:06:14.827+00:00

    Hi @Amardeep Aklujkar

    I think there may be an issue in your CI/CD pipeline or the way the folders are structured in your zip file. If none of the two, could you check if you have Run from Package enabled? It's possible that your updated zip is being uploaded to d:\home\data\SitePackages and Function App is running off of it (instead of running off what's in wwwroot directory where Zip Deploy extracts your updated application files to).

    Simplest way to determine what's happening is to use the Kudu tool: https://<Your-Function-App-Name>.scm.azurewebsites.net/

    After a Zip Deployment is completed, you can navigate to the wwwroot directory on Kudu and check if it's reflecting your updated .csx file: https://<Your-Function-App-Name>.scm.azurewebsites.net/ZipDeployUI

    If you see an updated .csx file on Kudu and Azure Portal simply isn't reflecting the same, that would mean a deeper issue, and at that point, opening a support case would be the best course of action.


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.