How to implement or add health checks for an Azure Function App running in a Container Apps environment, where the Function App is not polling a health API

Jubair Ahmad 20 Reputation points
2025-04-09T06:26:44.1333333+00:00

I am using the Microsoft.Web/sites@2022-09-01 resource type to deploy a Function App within a Container Apps environment, created via the azapi_resource in Terraform. I’ve configured the health check with healthCheckPath = "string", but I am unable to find the 'Health Check' option in the Azure portal for this Function App. Despite including health check settings in my Terraform code and attempting to enable it directly from the portal, the health check option does not appear on the Function App's overview page within the Container Apps environment. Additionally, the Function App is not polling the health check as expected when the healthCheckPath is provided.

Below is the overview page of function App inside container Apps env. we can not find healthcheck here.
User's image

And below is the image where we have functionapp based on appservice plan. Here we can see the healthcheck
User's image

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
686 questions
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2025-05-06T06:20:41.72+00:00

    @Ahmad, Jubair Thanks for your patience on this. I have checked with engineering team and posting the same here.

    You can leverage Function App on Container App, this is a new experience in which everything would be managed from the Container App (with no Function App resource). You can add health probes directly on the Container App in this.

    To get the new experience, the customer would create a Container App and select "Optimize for Azure Functions" in the creation wizard.

    User's image

    Refer to the below resources for more information.

    1. Samples for different Trigger functions and building an container image.
    2. Azure functions on Container apps.
    3. Use Azure Functions in Container Apps.

    Hope this helps, let me know if you have any further questions on this.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.