It does only work if you don't use Fast Provisioning (Linked Clones).
The workflow "Change Hard disk capacity" doesn't work in 5.1.2 when a VM is Fast Provisioned (Chainleanth >1)
It creates the error:
The hard drives of the virtual machine "Lin" may not be modified, once created.; majorErrorCode=400; minorErrorCode=BAD_REQUEST; vendorSpecificErrorCode=null; (Workflow:Change hard disk capacity / Resize Disk # (item0)#15)
But there is a workaround.
- PowerOff you VM
- Consolidate the VM
- Resize the Disk
as soon as the Chain length is 1, you can resize the disk as normal
Attached a rework of the "Change Hard disk capacity" workflow that now does also the consolidation