javascripttypescriptazureazure-devopsazure-functions

Azure Functions V4 not showing functions via Linux


I'm currently attempting to deploy very simple functions to Azure Functions V4 using Typescript. The functions is the boilerplate timerTrigger and and httpTrigger.

I'm deploying the code using func azure functionapp publish but I have also used az functionapp deployment source config-zip with no luck, I have also trying deploying using SCM. Functions are not showing up in dashboard and there's nothing in the "Log Stream".

Everything runs fine locally using func start (using azurite). I've even managed to get the function to put a file in blob storage.

I have also tried deploying using the V3 model (using javascript and typescript), in those cases the functions show up for javascript, but they do not get invoked.

My question is, am I missing a fine detail somewhere? Am I missing a step?

My App Settings are as follows:

enter image description here

The code/structure:

enter image description here

And not sure if completely relevant by my host.json:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "excludedTypes": "Request"
      }
    },
    "logLevel": {
      "default": "Information",
      "Function": "Information",
      "Host.Results": "Information"
    }
  },
  "extensionBundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle",
    "version": "[4.*, 5.0.0)"
  }
}

output from the publish command:

enter image description here


Solution

  • The correct answer in the end for this question: The function was hanging due to not having enough resources to deploy.

    It was a very simple function that was deployed on the lower end of resource groups.

    If the deploys are taking very long time and failing try increasing it's resources.