Share via

azure python function vs code deployment is not using current zip file

david shephard 0 Reputation points
2025-10-30T17:18:34.02+00:00
1:11:37 PM drsCRUD: [Kudu-SourcePackageUriDownloadStep] Skipping download. Zip package is present at /tmp/zipdeploy/98989a2b-ae3c-486c-919e-70572b8aba90.zip

Current function files do not reflect current files in folder.

This started yesterday. Before that no issues with function deployments. 

I thought this might be associated with the portal issue, but the portal issues seems to be resolved. My deployment issue is still an issue.

Happening in both function apps
Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


1 answer

Sort by: Most helpful
  1. Pashikanti Kumar 1,725 Reputation points Microsoft External Staff Moderator
    2025-10-30T21:55:30.28+00:00

    Hi david shephard,

    Open Kudu Console

    • Go to your Function App in the Azure Portal.
    • In the left menu, click on Development Tools > Advanced Tools (Kudu) and then click Go.

    Alternatively, go directly to: https://<your-function-app-name>.scm.azurewebsites.net/DebugConsole

     

    Navigate to the Folder

    • In the Kudu Debug Console, navigate to /tmp/zipdeploy (on Linux/Consumption) or D:\home\data\SitePackages (on Windows).
    • You can do this by typing the path into the text box above the file browser and hitting Enter.

     

    Delete the ZIP Files

    • Find the ZIP files you wish to delete (those left from old or problematic deployments).
    • Click the trash icon next to each .zip file, or check boxes and select "Delete" at the top.

     

    Restart Function App

    • Go back to the Azure Portal and restart your Function App (click "Restart" at the top).
    • This step ensures that the application is restarted and no longer references old, deleted deployment artifacts.

     

    Zip push deployment for Azure Functions | Microsoft Learn

    go - How to reset Kudu cached deployment on Azure - Stack Overflow

    I hope the provided answer is helpful,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    Thanks

    Was this answer helpful?


Your answer

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