An Azure service that is used to provision Windows and Linux virtual machines.
For Azure Virtual Machines, possible blocking conditions beyond delete protection and permission checks include:
- VM not fully deallocated when resize requires it
- Some resize operations require the VM to be in Stopped (deallocated) state.
- A VM shut down from inside the guest OS can remain Stopped instead of Stopped (deallocated), which can block the operation.
- VM size/SKU does not support live disk resize
- Not all VM sizes support resizing attached disks while the VM is running.
- If the VM SKU does not support live resize, the VM must be deallocated first.
- OS disk live resize requirements not met
- OS disk resize has stricter requirements than data disk resize.
- If the VM SKU or storage type is unsupported, resize is blocked until the VM is deallocated.
- Shared disk attached (
maxShares> 1)- Shared disks cannot be live-resized while attached to running VMs.
- All attached VMs must be deallocated, or the disk must be detached.
- Disk SKU and size combination does not support online resize
- Online resize is not supported for:
- OS disks
- Shared disks
- Standard HDD, Standard SSD, or Premium SSD data disks that are 4 TiB or smaller when expanding them beyond 4 TiB
- Online resize is not supported for:
- Active SAS token on the disk
- An active SAS URI places a lease on the disk and blocks modifications.
- This can happen because of:
- Disk export
- Azure Backup job in progress
- Azure Site Recovery replication
- Third-party backup tools
- Backup job in progress
- A running Azure Backup job can hold the lease and block disk resize until the job finishes or is canceled.
- Disk export in progress
- If a disk export URL exists, the disk may have an active SAS lease that blocks resize.
- Target disk size is invalid
- Resize fails if the requested size is outside the valid range for the disk SKU or if the operation attempts to shrink the disk.
- Disk attached while crossing the 4 TiB threshold
- A Standard HDD, Standard SSD, or Premium SSD disk that is 4 TiB or smaller cannot be expanded beyond 4 TiB while attached.
- The disk must be detached first.
- Availability set allocation constraints during VM resize/start
- If the VM is in an availability set, resize or restart can fail because the original cluster may not support the requested size or may lack capacity.
- This is especially relevant when only some VMs in the availability set are deallocated.
- Partial deallocation in an availability set
- Starting or resizing VMs in a partially deallocated availability set can behave like adding capacity to the existing set and fail due to cluster capacity restrictions.
- Deallocating all VMs in the availability set and starting them together is a documented workaround.
- VM in transitional or updating state
- A VM in provisioning or updating state can affect automation actions such as start/stop.
- Failed or in-progress extensions can also affect accessibility and operations.
For idle automation on Azure VMs, the context supports these blockers:
- VM in transitional state
- Pending operations such as disk resize
- Provisioning state issues
- Extension installation or extension failure
- Automation identity lacks required access
- Bad request from automation due to configuration mismatch or conflicting VM state
The provided context does not contain supported blocker lists for AWS EC2 or Google Compute Engine, so only Azure VM blockers can be listed from the available material.
- Troubleshoot Azure disk resize failures
- Troubleshoot Azure disk resize failures
- Troubleshoot Azure VM disk resize errors
- Troubleshoot allocation failures when you create or resize VMs in Azure
- Troubleshoot Azure disk resize failures
- Troubleshoot Azure VM disk resize errors
- Troubleshoot disk resize blocked by an active SAS URI
- Failed to start and stop VM at scheduled time every day - Microsoft Q&A
- High CPU instances detected on the VM nm-0 in the last 24 hours - Microsoft Q&A