What you need to know
How should an existing VM move between eligible Flexible scale sets without treating membership as traffic configuration?
Potentially affected
Existing eligible managed-disk VMs moving between Azure Flexible scale sets with one platform fault domain and singlePlacementGroup explicitly false.
DSE recommendation
Plan a verified detach followed by attachment, with traffic membership checked independently before and after the move.
Source facts
Microsoft requires detaching a VM before attaching it to another scale set. Clearing the association uses a null value, not an empty string or the text null. Attachment does not change network settings or automatically join a load balancer. Existing-VM attachment requires Flexible orchestration, one platform fault domain, explicit singlePlacementGroup=false, a common resource group, managed disks, and compatible regional or zonal placement. The source excludes availability-set, proximity-placement-group, Dedicated Host, and the specified RDMA-capable HB/N-series cases. Microsoft Learn.
Applicability
Use this workflow for an existing VM that satisfies both detachment and destination-attachment restrictions. Do not use the scale-set ID field as a shortcut around an incompatible placement configuration. Assess the documented preview-related RDMA restrictions explicitly before planning an exceptional hardware case.
DSE recommendation
Plan a verified detach followed by attachment, with traffic membership checked independently before and after the move. Have the network owner identify which load-balancer configuration should remain or change. Record the source set, destination set, and standalone VM identity. Agree what to do if detachment succeeds but attachment is rejected before starting that two-stage operation.
Verification
Inspect the VM’s association after detachment and again after attachment, using the exact intended destination ID. Separately test the application’s intended traffic path and inspect the network interface configuration. Do not accept a successful membership change as proof that requests reach the VM. Preserve any rejected destination constraint and the actual remaining association so the recovery decision starts from observed state.
Official references
Microsoft Learn: Attach or detach a VM from a scale set. Source reviewed September 9, 2026.
Review the official source
Attach or detach a virtual machine to or from a Virtual Machine Scale Set - Azure Virtual Machine Scale Sets | Microsoft Learn · Verified September 9, 2026
Need help applying this guidance safely?
DSE can help confirm applicability, protect service continuity, and validate the result across physical security and IT systems.
Talk with DSE