# Freeze rolling-upgrade phase and skip decisions before the upgrade starts

> Will changing application-emitted phase or skip metrics alter a rolling upgrade already in progress?

- Canonical URL: https://update.dsesecurity.com/updates/dse-20260909-558-freeze-rolling-upgrade-phase-and-skip-decisions-before-the-upgrade-starts/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-09-10T00:22:38+00:00
- Modified: 2026-09-10T02:14:31+00:00
- Last reviewed by DSE: 2026-09-09
- Resource type: Guide
- DSE priority: Information
- Topics: Business Continuity, IT
- Reading time: 2 minutes

## What you need to know

Will changing application-emitted phase or skip metrics alter a rolling upgrade already in progress?

## Potentially affected

Azure scale sets using rolling-upgrade custom metrics from rich HTTP/HTTPS Application Health extension responses.

## DSE recommendation

Validate the reported phase and skip decisions before starting a rolling upgrade, and retain that input snapshot with the operation.

## Article

## Source facts

Rolling-upgrade custom metrics require rich Application Health extension states over HTTP or HTTPS; binary states and TCP are unsupported for this integration. Azure reads the metrics when the upgrade starts, so mid-upgrade changes do not alter that operation. Phases run in numeric order, with every batch in a phase completed before the next; a missing phase places the VM last. A true skip decision excludes an instance. The customMetrics payload must be a JSON string, not a nested object. [Microsoft Learn](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-rolling-upgrade-custom-metrics).

## Applicability

Use this check when applications emit their own rollout ordering or omission decisions. Confirm a healthy application state before expecting inclusion, as required by the source. Keep these inputs separate from an assumption that every later health response rewrites the active rollout plan.

## DSE recommendation

Validate the reported phase and skip decisions before starting a rolling upgrade, and retain that input snapshot with the operation. Have each application owner justify omitted instances and define how their later update will be tracked. Review machines with no phase deliberately instead of letting a missing field silently stand in for the intended order.

## Verification

Inspect the reported custom-metrics substatus for representative instances and compare it with the intended phases. Rehearse a small rollout and confirm the observed batch sequence and skipped population. If an owner changes a decision after the operation begins, record the change separately and reassess the rollout rather than claiming the active operation adopted it. Retain remaining outdated instances as explicit follow-up work.

## Official references

[Microsoft Learn: Rolling-upgrade custom metrics](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-rolling-upgrade-custom-metrics). Source reviewed September 9, 2026.

## Primary reference

- Name: Custom metrics for rolling upgrades on Virtual Machine Scale Sets - Azure Virtual Machine Scale Sets | Microsoft Learn
- Authority: Microsoft Learn
- URL: https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-rolling-upgrade-custom-metrics
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Freeze rolling-upgrade phase and skip decisions before the upgrade starts,” DSE Security, https://update.dsesecurity.com/updates/dse-20260909-558-freeze-rolling-upgrade-phase-and-skip-decisions-before-the-upgrade-starts/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
