Function App not showing up on list of functions after deployment from VS Code (V2 Python Programming Model)

Stephen Funk 40 Reputation points
2023-04-21T20:08:26.0333333+00:00

Hey community, I am having trouble deploying a simple Python script to Azure Function Apps through VS Code (which uses Azure CLI in the background, I assume). My app runs fine locally, and my code looks like it gets uploaded okay. However, when I go to the "Functions" tab in the developer console, the function name is not listed. I also can't make API calls to the endpoints that I expect to exist after development. Any suggestions on what might be causing this? DETAILS My codes contains one well-formatted app defined using the V2 Python Programming Model User's image

My function app has the name "umr" and route "parse_umr". I can confirm that this name/route scheme works when I enter debugging mode (which runs func start). The name registers correctly... User's image

, and I can call my app with a HTTP request to localhost... User's image

My code is copied to Azure Function Apps correctly I publish my code to Azure using the Azure Extension on VS Code.User's image

I believe that VS Code runs Azure CLI commands in the background to zip and deploy my code. Regardless of how it is accomplished, my code is uploaded correctly. I can see my code files in the Azure console.User's image

However, when I navigate to the Functions tab, nothing appears. The "umr" function is not listed. User's image

I also cannot send requests to the {my-app}.../api/parse_umr endpoint. Notice the 404 error here. User's image

I have tried clicking "Refresh", redeploying the code, etc., but nothing will make my app show up or endpoint register. This issue has happened to me before The last time I deployed a Functions App I had the same issue. Everything went well, but my function's name didn't register. I decided to sleep on the issue, and when I woke up, the problem had resolved itself. This was nice, but I don't want to wait 8 hours for my deployments to work. Is there something I can do to speed up whatever function registration process is going on in the backend? Thank you in advance.

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

6 answers

Sort by: Most helpful
  1. Kris Kilton 0 Reputation points
    2025-03-31T20:40:00.98+00:00

    My problem turned out to be a coding error - erroneous character entered which I did not notice. Once that was removed, the function deployed correctly.

    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.