You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
az vm update failed with 'Enabling zone movement' with unrelated action #33500
When trying to run a az vm update --set tags command it failed with an unrelated 'zone movement' error
Related command
az vm update
Errors
Operation 'Enabling zone movement' is not supported on the resource 'VM as its not enabled for the region/ subscription.'
Issue script & Debug output
above error
Expected behavior
Expect az vm update commands to function and not fail related to an unspecified flag
Environment Summary
azure-cli 2.87.0
Additional context
This does not occur on the previous version 2.86, only on the latest 2.87. Wondering if some cli flag got set regarding zone movement so it tries to update on every update command, even those that don't specify it, and the region doesn't support that feature. This seems to break az vm update commands for me.
We got the same problem by running a command assigning a VM to a capacity reservation group.
We run 2.87.
az vm update -g "$AZURE_RG" -n "$VM_NAME" --capacity-reservation-group "$CRG_ID" -o none
(BadRequest) Operation 'Enabling zone movement' is not supported on the resource 'VM as its not enabled for the region/ subscription.'.
Code: BadRequest
Message: Operation 'Enabling zone movement' is not supported on the resource 'VM as its not enabled for the region/ subscription.'.
Activity
yonzhan commentedon Jun 4, 2026
Thank you for opening this issue, we will look into it.
dspezia commentedon Jun 12, 2026
We got the same problem by running a command assigning a VM to a capacity reservation group.
We run 2.87.
MmAtBosch commentedon Jun 12, 2026
Same here when trying to swap an os disk on a vm
ERROR: (BadRequest) Operation 'Enabling zone movement' is not supported on the resource 'VM as its not enabled for the region/ subscription.'.scarcher2 commentedon Jun 12, 2026
We also experienced this issue when trying to update a tag.
william051200 commentedon Jun 15, 2026
Hi Nicholas Johnson (@nbjohnson)
Thanks for reporting this.
We have identified the issue and have a fix in progress. It will be included in the next release, CLI version 2.88.
In the meantime, please revert to version 2.86 as a workaround.
cc Didier Spezia (@dspezia) MM - Business (@MmAtBosch) Scott Archer (@scarcher2)
william051200 commentedon Oct 21, 2026
This regression is fixed in Azure CLI 2.88.0, released July 7, 2026, through #33441.
Please upgrade to 2.88.0 or later using
az upgradeand retry your command. Reverting to 2.86 is no longer necessary.Closing as resolved. If the same error persists after upgrading, please open a new issue with your CLI version, command, and sanitized
--debugoutput.