VM failed to start after deleting the Snapshot used to create the disk
I created a VM based on a Snapshot of other machine. The VM was working and I saw the VM's disk consuming resources and the Snapshot as well. The disk is attached and the Create Option is FromImage, so I thought the Snapshot wasn't necessary any more considering that the disk has all the data. So I deleted the Snapshot and now I can't start the VM again.
"Failed to restart the virtual machine 'XXX'. Error: OS Provisioning for VM 'XXX' did not finish in the allotted time. However, the VM guest agent was detected running. This suggests the guest OS has not been properly prepared to be used as a VM image (with CreateOption=FromImage). To resolve this issue, either use the VHD as is with CreateOption=Attach or prepare it properly for use as an image"