VMware Cloud Community
lElOUCHE_79
Enthusiast
Enthusiast
Jump to solution

Add Read-only user account on ESXi

I'l trying to add a user to ESXi using this command

New-VIPermission -Entity (Get-Folder root) -Principal $ESXiNewUser -Role $ESXiPermission
 
for Variable  $ESXiPermission I'm adding Read-only wich is available in ESXi roles, unfortunately I get the below error message:
 
New-VIPermission Could not find Role with name 'Read-only'.
 
what's wrong here?
Reply
0 Kudos
1 Solution

Accepted Solutions
lElOUCHE_79
Enthusiast
Enthusiast
Jump to solution

Git it, my error was that I assigned Read-only role, I solved the issue by using ReadOnly.

View solution in original post

Reply
0 Kudos
1 Reply
lElOUCHE_79
Enthusiast
Enthusiast
Jump to solution

Git it, my error was that I assigned Read-only role, I solved the issue by using ReadOnly.

Reply
0 Kudos