Thanks for posting your question in the Microsoft Q&A forum.
The Azure's internal health check system, which sends periodic requests to keep your app loaded. When these requests fail with 499, it indicates Azure's infrastructure is terminating the connection before your app responds, usually due to:
Cold start delays exceeding timeout thresholds
Resource constraints during app initialization
Timeout mismatches in intermediary services (Application Gateway/Load Balancer)
Check which components exist in your architecture using:
az webapp show --name <app-name> --resource-group <rg-name> --query "siteConfig"
Extend Application Gateway Timeouts
az network application-gateway probe update \
--gateway-name <gateway-name> \
--resource-group <rg-group> \
--name <probe-name> \
--timeout 120
Adjust Health Check Endpoint:
Create a lightweight dedicated endpoint for Always On
checks
[Route("healthcheck")]
public IActionResult HealthCheck() => Content("OK");
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful