Looking at the services of the vcenter in CLI we get this error:
Error: Service name “vsphere-ui” is invalid
When we try to stop this service we get this error:
Failed to stop service vsphere-ui due to invalid input. Error executing stop on service vsphere-ui
7.x
This issue can happen if the json file for the particular service has changed. In order to validate and fix this follow these steps: