VMware Cloud Community
Bunty11
Hot Shot
Hot Shot

Invoke-VMScript Permission Error

After running Invoke-VMScript with User accout which has Administrator Role i get below error :

Error : Permission to perform this operation was denied. Required permission VirtualMachine.GuestOperations.Modify

What can be the reason ??

Tags (1)
Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

That looks like the account you are using to connect to the VCSA is missing the privilege 'virtualmachine.guestoperations.modify'.
Can you check if the Role assigned to your Principal that has permssions on that VM, holds that privilege?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference