Python Azure Functions are deployed successfully but not reflecting on Azure portal Function App on 18 dec 2023

Sjoerd Schilder 5 Reputation points
2023-12-18T10:19:00.3266667+00:00

I am trying to redeploy an azure function using python. This function works locally and deploying on azure also worked previously (using both visual studio and devops pipelines), but as of a couple of days ago, when I deploy It says that it deploys successfully, but when I look in the portal the function is nowhere to be found. User's image

I found the same issue on this QandA page: https://learn.microsoft.com/en-us/answers/questions/994425/azure-functions-are-deployed-successfully-but-not, where it stated I should create my own QandA post.

Here is my portal session ID: User's image

As for the fiddler traces, the QandA post does not seem to allow it, as it has the wrong file extension (har), and when I change it to .txt it is too big. So let me know how you would like to receive this.

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. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2023-12-19T11:15:04.5733333+00:00

    @Sjoerd Schilder Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Based on the shared information, I have looked at the backend logs of the functionapp(CBNewsanalyser-TST) we see that the deployment, sync triggers operation are successful.
    Also, we don't see you have any triggers and bindings in your function. Json file. function.json file will be generated post building the project in your local and this file will be present in different folders based on the runtime language that you are using.

    Refer to this documentation to know more information about under which folder this function.json file will be present based on the language.

    Feel free to reach back to me if you have any further questions on this.


  2. Sjoerd Schilder 5 Reputation points
    2023-12-21T09:21:13.2933333+00:00

    I ended up finding the error as a spelling mistake in one of the application settings. Because these were initialized in the python function as global variables, it seems that the function crashes without deploying correctly. This made it impossible to see error output. Comparing a previously working version and the new version made me find the error.


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.