Azure functions not displaying in the function app I created

lakshmi.priyanka.jakka1 5 Reputation points
2024-05-08T08:00:52.88+00:00

I created an azure function app. When I try to create a function for it, for the first time the online editor open up and I can write the code. Now if I come to the function app and check under the functions tab it is not the showing the functions I created. Could you please kindly help me.

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

2 answers

Sort by: Most helpful
  1. Rahul Gosavi 0 Reputation points
    2024-05-08T12:12:37.84+00:00

    If you're encountering issues where functions you created in the Azure Function App are not appearing under the Functions tab, there are a few troubleshooting steps you can take:

    Refresh the Portal: Sometimes, the Azure portal may not update immediately. Try refreshing the portal page to see if the functions appear.

    Check Deployment Status: Ensure that the function you created was deployed successfully. If there were any errors during deployment, they might prevent the function from appearing in the portal. Check the deployment logs for any errors or warnings.

    Verify Function Configuration: Double-check the configuration of your function to ensure it is set up correctly. Make sure that the function is enabled, and the trigger bindings are configured properly.

    Review Function App Settings: Check the settings of your Function App to ensure that it is configured correctly. Verify the runtime version, language, and other settings that may affect the visibility of functions.

    Try Different Browsers or Devices: In some cases, browser caching or compatibility issues may prevent functions from appearing in the portal. Try accessing the Azure portal from a different browser or device to see if the issue persists.

    Permissions: Ensure that you have the necessary permissions to view and manage functions within the Function App. Check your role assignments and permissions in Azure to ensure you have the required access.

    Restart Function App: Sometimes, restarting the Function App can resolve issues related to function visibility. You can restart the Function App from the Azure portal by navigating to the Function App resource and selecting "Restart" from the menu.

    If none of the above steps resolve the issue, you may need to reach out to Azure support for further assistance, as there could be underlying issues with the Function App or the Azure portal.

    If this helps you, please select my answer as 'Accepted Answer'


  2. Ryan Hill 28,821 Reputation points Microsoft Employee
    2024-05-13T22:00:47.5233333+00:00

    Hi @lakshmi.priyanka.jakka1

    You didn't mention what OS hosting for runtime you're using. However, I'm not certain how you were able to use an editor in the portal straight forward to create a function inside the function app. But it's a method I wouldn't advise doing. I strong suggest using VS Code or another editor.

    Based off the runtime; see https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference?tabs=blob&pivots=programming-language-csharp, the hosting will for certain look for the entry point. In .NET, it checks for methods attributed with [Function] while JavaScript/TypeScript, it checks what "main": "<path to entry point>" is set to in package.json, and in Python, it looks in function_app.py. The Azure Functions tooling for VS Code handles all this for you so you don't have a worry about wiring this up.

    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.