I try to configure a functional user with minimum permissions, that configures the "HARestartPriority"-Setting based on some custom Tag on a regular basis (e.g. "Gold" VM's get "HARestartPriority"=High).
I want to only give minimal privileges to this role, however I could not find out the vCenter permissions needed to allow "HARestartPriority".
That's what I do:
PowerCLI> Get-VM -Location $clusterObj -Name "myServer" -Tag $tag_noneha | Set-VM -WhatIf:$False -Confirm:$False -HARestartPriority Disabled
Even if all VM Permissions are given to the role of the user in question. I also did not find any "HARestartPriority" permission.
Any hints on the permissions required ?