How to view contents of function app zip post deployment?

Ashwin Venkatesha 230 Reputation points
2024-07-07T02:05:31.3466667+00:00

I have published a function app using the below command

func azure functionapp publish timedapicall  --build remote --python

I see an entry in storage account's scm-releases container.

User's image

However, if i try to download and open the zip file, it keeps throwing an error that it is an unsupported format.

An attempt to access via scm.azurewebsites.net doesnt show debug console dropdown either. Deployments link doesnt open anything either.

User's image

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

1 answer

Sort by: Most helpful
  1. Vinodh247 13,886 Reputation points
    2024-07-07T07:23:45.1+00:00

    Hi Ashwin Venkatesha,

    Thanks for reaching out to Microsoft Q&A.

    To view the contents of a function app zip file after deployment, you can try using one of the below options, esp., Kudu service or Azure CLI which can be more handy.

    Kudu Service:

    Azure CLI:

    REST APIs:

    Using FTP

    • Get FTP Credentials:
      • go to your Function App & in the left-hand menu, select Deployment Center.
      • Under the FTP/Credentials tab, note down the FTP hostname, username, and password.
      • Use an FTP client (FileZilla) to connect to your Function App using the FTP credentials.
      • In the FTP client, navigate to the /site/wwwroot directory.
      • Now download the files to your local machine or view them directly within the FTP client.

    https://learn.microsoft.com/en-us/azure/azure-functions/deployment-zip-push

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.