Azure / Azure/azure-cli

az vm update failed with 'Enabling zone movement' with unrelated action

Open
#33,500 5 comments 1 reaction 1 assignee Assigned to @yanzhudd View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Breaking Change Compute customer-reported question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.