Observed behavior:
The script proceeds with the resize without checking whether the target SKU is supported in the PPG.
Azure rejects the resize or the VM ends up in a boot failure state (INACCESSIBLE_BOOT_DEVICE).
No clear error message is provided by the script regarding PPG constraints.
Expected behavior:
The script should validate whether the requested VM size is available in the current PPG before attempting the conversion.
If the SKU is not supported, the script should fail fast with a clear, actionable error message (e.g. “Selected VM size Standard_E8s_v6 is not available in the current Proximity Placement Group. Please remove the VM from the PPG or choose a supported size.”).
Observed behavior:
The script proceeds with the resize without checking whether the target SKU is supported in the PPG.
Azure rejects the resize or the VM ends up in a boot failure state (INACCESSIBLE_BOOT_DEVICE).
No clear error message is provided by the script regarding PPG constraints.
Expected behavior:
The script should validate whether the requested VM size is available in the current PPG before attempting the conversion.
If the SKU is not supported, the script should fail fast with a clear, actionable error message (e.g. “Selected VM size Standard_E8s_v6 is not available in the current Proximity Placement Group. Please remove the VM from the PPG or choose a supported size.”).