Azure functions are not displaying in the function app.

Anonymous
2024-12-03T11:01:13.9466667+00:00

Hello,

I deployed an Function App through Azure DevOps Pipelines, all files exist but are not displaying in the overview to run or test it.

Step by step I verified:

  1. All files exist in /wwwroot.
  2. Checked on Azure DevOps, the artifact was correct and the pipeline steps were also correct.
  3. Checked on the Deployment Center in the Function App logs—everything is in order.
  4. Verified the app files exist. Moreover, they match another Function App that runs very similar code (only the storage is different) and both use the same OS, same version of Python, etc.
  5. My host.json is the same as my "old" function. The following code:
       
       {
         "version": "2.0",
         "logging": {
           "applicationInsights": {
             "samplingSettings": {
               "isEnabled": true,
               "excludedTypes": "Request"
             }
           }
         },
         "extensionBundle": {
           "id": "Microsoft.Azure.Functions.ExtensionBundle",
           "version": "[4.*, 5.0.0)"
         },
         "functionTimeout": "-1"
       }
       
       
    
  6. The function_app.py is also correct and same way that the old one (which currently works).

After checked all this steps is still not displaying my functions.

Thanks in advance

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2024-12-03T13:33:43.53+00:00

    @Adriel Salguero Thanks for posting your question apologize for any inconvenience caused on this.

    Could you please review the log stream logs of the function app and see whether the functions are getting loaded during the runtime or not.

    If you see 0 functions loaded please review the deafult_docker.log file under LogFile from kudu.

    Hope this helps, let me know if you have still any questions on this.

    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.