Function is deployed successfully, but functions are not visible

Idunnu Okunola 0 Reputation points
2025-02-24T20:49:48.5866667+00:00

Function is deployed successfully, but functions are not visible. I create them but I don't see them and i get "error retrieving function" and "error retrieving function keys"

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

1 answer

Sort by: Most helpful
  1. Vinodh247 34,661 Reputation points MVP Volunteer Moderator
    2025-02-25T06:38:14.1733333+00:00

    Here are the troubleshooting steps to resolve the issue where deployed functions are not visible, and you encounter errors like "error retrieving function" and "error retrieving function keys":

    1. Check Deployment Status
      • Verify that the deployment was successful using the azureportal, azure devops, vscode, or azureCLI.
      Restart the Function App
      • Restart your function app from the Azure Portal to refresh the state.
      Check the functions Folder in Kudu
        - Open Kudu (Advanced Tools) and navigate to `D:\home\site\wwwroot`.
      
           - Ensure that the `function.json` files exist inside the respective function folders.
      
           Verify the Function App Configuration
      
              - Ensure that the Azure Functions runtime version is compatible with your function.
      
                 - Check the runtime version in the Azure Portal.
      
                 Investigate Storage Account Issues
      
                    - Ensure that the AzureWebJobsStorage setting is correctly configured and points to an active storage account.
      
                       - Verify that the storage account exists and is accessible.
      

    Check Logs for Errors

    • Open the Logs (Application Insights) section in the Azure Portal and review any error messages.

    Recreate Host Keys (If Function Keys Are Not Visible)

      - Reset the function keys to resolve potential corruption.
      
      Redeploy the Function
      
         - Delete the function from Kudu, then redeploy it to force a fresh deployment.
         
    

    If the issue persists after these steps, checking for potential permission issues or service outages may also help. Let me know if you need further assistance!


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.