Hi together,
Try to add a local ESX user to replace the root user for CIM queries with a powercli script.
Added a local user, with the CIM interaction role successfully.
New-VMHostAccount -Id cim_mon -Password $NewPassword -Description "monitoring account"
New-VIPermission -Entity (Get-Folder root) -Principal $newUser -Role $role
Can login via GUI. But, get authentication error when accessing using port5989. Port is accessible.
Can't find why it doesn't work.
Someone got it working?
Thanks in advance