Share via

Unable to create A Virtual Machine scale set in West US 2 region(spec: 2025-datacenter-azure-edition and Standard_DC4as_v6)

Nishtha Agrawal 20 Reputation points Microsoft Employee
2026-05-06T14:16:24.3566667+00:00

Hello Team,

I am trying to create multiple VMSS in multiple regions, but out of 3, 2 of them were created successfully but one is failing with following error:

Error: 'PatchMode' must be set to 'AutomaticByPlatform' for resources created with Hotpatch-compatible images. (Code: InvalidParameter, Target: windowsConfiguration.patchSettings.patchMode)

Details:

East Us and West US -> 2025-datacenter-azure-edition and Standard_DC4as_v5 -> working

West US 2-> 2025-datacenter-azure-edition and Standard_DC4as_v6 -> not working

Please tell me why exactly it is failing?

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets

Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.


Answer accepted by question author

Hemalatha 14,195 Reputation points Microsoft External Staff Moderator
2026-05-06T16:13:56.52+00:00

You are correct that Standard_DC4as_v5 is not available in the West US 2 region. In this region, Azure supports only v6‑generation confidential VM SKUs, and v5 confidential VM sizes are not offered.

As a result, the recommended and supported confidential VM options in West US 2 are v6 SKUs only, as listed below:

  • Standard_DC4as_v6 – Direct replacement for Standard_DC4as_v5 (no local temporary disk)
  • Standard_DC4ads_v6 – Same as DC4as_v6 but includes a local temporary disk
  • Standard_DC2as_v6 / DC8as_v6 / DC16as_v6 – Smaller or larger sizing options in the same confidential VM family

All of these SKUs belong to the v6 confidential VM generation and are fully supported in West US 2. There is no confidential VM SKU in this region that behaves like the older v5 generation.

Please note that all v6 confidential VMs enforce the same platform requirements. When using Windows Server Azure Edition (Hotpatch‑enabled) images, the VM or VM Scale Set must be configured with:

  • Azure‑managed patching
  • patchMode = AutomaticByPlatform

This behavior is expected and by design.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.