Virtual machine is being powered off automatically after powered on.
No errors reported on vSphere, we can see the power on tasks being completed normally.
vSphere all versions.
This is not an issue tigered on vCenter or ESXi.
The power off of the virtual machine on this situation is caused by guest OS level or by an external automated process.
By default, vSphere doesn't have any trigger for an automatic power off or shutdown of the virtual machines.
Once a virtual machine is powered on it will remain powered on until an specific request is made.
That request can be due to rules created manually on solutions (i.e.: Aria Operations or third party scripts) or a request on the guest OS level.
To validate the VM can stay powered on check the following: