Function App Not Showing After Successful Deployment (Flex Consumption Plan)

Dax Patel 0 Reputation points
2025-03-11T10:47:10.2233333+00:00

I have issues deploying a function app from AzureDevOps Pipeline to a Function App on the Flex consumption Plan.

  • DevOps Pipeline succeeds
  • Deployment center on function app shows successfully deployed
  • Storage is configured
  • Application insights configured
  • Can't locate any logs regarding the build errors
  • The function does not show up on the overview tab of the function app

The only hint I have so far is that it might not be building the app because I see that the Onyx build is set to false. When I try setting that to true using the pipeline, it won't allow it since this should be true by default for the flex consumption plan.

I have ruled out any issues with the code during the app start by attempting the whole thing on the Premium Plan, which deploys and functions successfully.

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. Alex Burlachenko 9,780 Reputation points
    2025-03-11T11:56:42.9666667+00:00

    Dear Dax,

    Verify Flex Consumption Plan Configuration Ensure your Function App is correctly configured for the Flex Consumption Plan. Check the App Service Plan, runtime stack, and region compatibility. Refer to the official documentation for details.

    Check Deployment Artifacts Confirm that the deployment artifacts (e.g., .zip file) are generated correctly in your Azure DevOps pipeline. Publish the artifacts and verify their contents.

    Review Deployment Logs Check the Kudu logs (https://<your-function-app>.scm.azurewebsites.net) under Log Files > Deployment and the Azure DevOps Pipeline logs for hidden errors or warnings.

    Validate Configuration Files Ensure host.json and local.settings.json are correctly configured for the Flex Consumption Plan. Refer to the host.json documentation for guidance.

    Check Application Settings Verify all required app settings and connection strings in the Configuration section of your Function App in the Azure Portal.

    Enable Detailed Logging Enable Application Insights logging and use the Diagnose and solve problems tool in the Azure Portal to capture more details.

    Test with a Simple Function Deploy a basic "Hello World" function to the same Flex Consumption Plan to isolate the issue.

    Contact Azure Support If the issue persists, reach out to Azure Support with your subscription ID, Function App name, and pipeline logs for further assistance.

    Why This Might Be Happening

    Onyx Build Issue: The Onyx build setting being false might indicate a misconfiguration or bug.

    Deployment Artifact Issues: The artifacts might not be generated or uploaded correctly.

    Configuration Mismatch: There could be a mismatch between the Function App configuration and the Flex Consumption Plan requirements.


    For more details, refer to the official Azure Functions documentation.

    Let me know if you need further assistance!

    Best wishes,

    Alex

    p.s. If you found the answer helpful, please click on Upvote and Accept Answer. This will help other community members.

    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.