Azure Functions are not visible in the function list after my deployment from GitHub/Kudu

Isark-9717 11 Reputation points
2021-01-28T21:50:13.57+00:00

I'm trying to deploy my first http trigger Function App to Azure.

It was created with the Azure Function extension in VS Code with typescript template. I use my GitRepo as a source and the Kudu build App Service.

My functions are working well locally : I can see them in VS Code > Azure tab, Local Project > Functions.

I have no error on the deployment itself but I cannot see my two functions in the Azure Functions list :
61529-azurescreenshot.jpg

In the kudu UI, I see that all my files are correctly deployed :
61587-kudu-2.jpg

Where can I find some logs on what went wrong ? Any idea of other things to check ?

Any help will be appreciated.

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

3 answers

Sort by: Most helpful
  1. Kaine Varley 21 Reputation points
    2023-03-22T14:31:55.4666667+00:00

    Hi all,

    After contacting MS Support, their troubleshooting helped me isolate the problem down to my Build pipeline. It had nothing to do with the Release pipeline nor the Function App setup. I'd had so many issues rolling out Function App (and supporting resources) private endpoints around permissions and whatnot, that I'd assumed this was the case here too.

    One thing that was annoying was that both Build and Release pipelines reported successes with no errors.

    The clincher was that the deployed zip file was empty (a defect with my Build pipeline had generated an empty deployment artifact file). Once I'd spotted that, I traced it back to the build server to verify it was empty there too, and then found the defect in Build pipeline. Once corrected, the whole process worked fine.

    Here are the diagnostic steps given my MS Support:

    • Go to advanced tools and debug console: https://<APPNAME>.scm.azurewebsites.net/DebugConsole, browse to C:\home\site\wwwroot and check if the Functions are there
    • Go to C:\home\data\SitePackages and check if the latest zip file contains the Functions and the packagename.txt is updated.

    Remember to check the contents of your zip file above.

    Hope this helps get someone out of a jamb.

    Kaine

    3 people found this answer helpful.

  2. JayaC-MSFT 5,606 Reputation points
    2021-01-29T10:16:46.94+00:00

    Hello @Isark-9717 , I would recommend to do the following :

    • Restart your function app in the Azure portal
    • Send an HTTP POST request to https://{functionappname}.azurewebsites.net/admin/host/synctriggers?code=<API_KEY> using the master key.
    • Send an HTTP POST request to https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP_NAME>/providers/Microsoft.Web/sites/<FUNCTION_APP_NAME>/syncfunctiontriggers?api-version=2016-08-01. Replace the placeholders with your subscription ID, resource group name, and the name of your function app.

    You can also find the same in our official document.

    Please let me know if this helps!


  3. Bram Dekker 0 Reputation points
    2023-10-12T07:22:55.56+00:00

    restarting my pc did the trick for me.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.