If you find yourself getting this error message:
The application encountered an error while attempting to change the state of ‘VMName’. ‘VMName’ failed to change state. The operation failed with error code ‘32788.’
Go to the settings of your VM:
And look for something in an error state:
In this case I had changed Virtual Switch since using the VM so it’s no longer valid.