Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
Hello Harini
We understand that all instances under the Virtual Machine Scale Set “FE” are currently marked as Unhealthy, and restarting the instances did not resolve the issue. As a result, automatic upgrades are failing, which is impacting the production workload.
In Azure Virtual Machine Scale Sets (VMSS), automatic OS upgrades and instance repairs rely on health signals from either:
- An Application Health Extension, or
- An Azure Load Balancer health probe
If these health checks are misconfigured, not responding with expected results (for example, HTTP 2xx responses), or not enabled at all, the platform marks the instances as Unhealthy. When all instances are unhealthy, Azure intentionally blocks automatic upgrades to prevent potential service downtime.
Please review and validate the following configuration:
- Confirm Health Monitoring is Enabled
- Ensure that only one health signal source is configured (either Application Health Extension or Load Balancer probe).
- If using the Application Health Extension, verify that the application endpoint consistently returns a healthy response (HTTP 2xx or successful TCP handshake).
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-health-extension?tabs=rest-api
- Validate the Health Endpoint
- Confirm the configured probe endpoint is reachable and responding as expected from inside the VM instances.
- Any incorrect response will cause Azure to mark the instance as Unhealthy.
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machine-scale-sets/restart-stop/instances-not-repaired
- Check Automatic Repair / Upgrade Eligibility
- Automatic OS upgrades and instance repairs will proceed only after instances report a Healthy state.
- Once health is restored, upgrades should resume automatically without manual intervention. https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade
If the issue persists after validating the health configuration, we are happy to assist further. Please add your comments in the Comment section, and we will respond promptly to help you move forward.
Thanks,
Manish.