<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: unable to add these Privileges to vCenter role in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921066#M107573</link>
    <description>&lt;P&gt;I can see it listed here but I think the filter is written in a wrong way&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-3D47149A-947D-4608-88B3-E5811129EFA8.html" target="_blank"&gt;https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-3D47149A-947D-4608-88B3-E5811129EFA8.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 12:54:14 GMT</pubDate>
    <dc:creator>toffaha1</dc:creator>
    <dc:date>2022-07-28T12:54:14Z</dc:date>
    <item>
      <title>unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2920823#M107548</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to add vCenter privileges to a role via PowerCLI as the following but not sure why it keeps throwing errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.View&lt;BR /&gt;System.Read&lt;BR /&gt;Global.LogEvent&lt;BR /&gt;Global.Licenses&lt;BR /&gt;Global.DisableMethods&lt;BR /&gt;Global.EnableMethods&lt;BR /&gt;Folder.Create&lt;BR /&gt;Folder.Delete&lt;BR /&gt;Datastore.Rename&lt;BR /&gt;Datastore.Move&lt;BR /&gt;Datastore.Delete&lt;BR /&gt;Datastore.Browse&lt;BR /&gt;Datastore.DeleteFile&lt;BR /&gt;Datastore.FileManagement&lt;BR /&gt;Datastore.AllocateSpace&lt;BR /&gt;Datastore.Config&lt;BR /&gt;Datastore.UpdateVirtualMachineFiles&lt;BR /&gt;Datastore.UpdateVirtualMachineMetadata&lt;BR /&gt;Network.Assign&lt;BR /&gt;DVSwitch.Create&lt;BR /&gt;DVSwitch.Delete&lt;BR /&gt;DVPortgroup.Create&lt;BR /&gt;DVPortgroup.Modify&lt;BR /&gt;Host.Config.Storage&lt;BR /&gt;Host.Local.DeleteVM&lt;BR /&gt;VirtualMachine.Inventory.Create&lt;BR /&gt;VirtualMachine.Inventory.Register&lt;BR /&gt;VirtualMachine.Inventory.Delete&lt;BR /&gt;VirtualMachine.Inventory.Unregister&lt;BR /&gt;VirtualMachine.Interact.PowerOn&lt;BR /&gt;VirtualMachine.Interact.PowerOff&lt;BR /&gt;VirtualMachine.Interact.GuestOperatingSystemManagementByVIXAPI&lt;BR /&gt;VirtualMachine.GuestOperations.Query&lt;BR /&gt;VirtualMachine.GuestOperations.Modify&lt;BR /&gt;VirtualMachine.GuestOperations.Execute&lt;BR /&gt;VirtualMachine.Config.AddExistingDisk&lt;BR /&gt;VirtualMachine.Config.AddNewDisk&lt;BR /&gt;VirtualMachine.Config.RemoveDisk&lt;BR /&gt;VirtualMachine.Config.RawDevice&lt;BR /&gt;VirtualMachine.Config.HostUSBDevice&lt;BR /&gt;VirtualMachine.Config.AdvancedConfig&lt;BR /&gt;VirtualMachine.Config.SwapPlacement&lt;BR /&gt;VirtualMachine.Config.ChangeTracking&lt;BR /&gt;VirtualMachine.State.CreateSnapshot&lt;BR /&gt;VirtualMachine.State.RevertToSnapshot&lt;BR /&gt;VirtualMachine.State.RemoveSnapshot&lt;BR /&gt;VirtualMachine.Provisioning.DiskRandomRead&lt;BR /&gt;VirtualMachine.Provisioning.GetVmFiles&lt;BR /&gt;Resource.AssignVMToPool&lt;BR /&gt;Resource.HotMigrate&lt;BR /&gt;Resource.ColdMigrate&lt;BR /&gt;VApp.AssignVM&lt;BR /&gt;VApp.AssignResourcePool&lt;BR /&gt;VApp.Unregister&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;errors&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Get-VIPrivilege : 7/27/2022 3:10:32 PM Get-VIPrivilege VIPrivilege with id 'VApp.AssignResourcePool ' was not found using the specified filter(s).&lt;BR /&gt;At line:1 char:38&lt;BR /&gt;+ ... -Privilege (Get-VIPrivilege -Server $viserver -id $cvRoleIds) -Serve ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : ObjectNotFound: (:) [Get-VIPrivilege], VimException&lt;BR /&gt;+ FullyQualifiedErrorId : Core_OutputHelper_WriteNotFoundError,VMware.VimAutomation.ViCore.Cmdlets.Commands.PermissionManagement.GetVIPrivilege&lt;/P&gt;&lt;P&gt;Get-VIPrivilege : 7/27/2022 3:10:32 PM Get-VIPrivilege VIPrivilege with id 'VApp.Unregister ' was not found using the specified filter(s).&lt;BR /&gt;At line:1 char:38&lt;BR /&gt;+ ... -Privilege (Get-VIPrivilege -Server $viserver -id $cvRoleIds) -Serve ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : ObjectNotFound: (:) [Get-VIPrivilege], VimException&lt;BR /&gt;+ FullyQualifiedErrorId : Core_OutputHelper_WriteNotFoundError,VMware.VimAutomation.ViCore.Cmdlets.Commands.PermissionManagement.GetVIPrivilege&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 15:12:00 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2920823#M107548</guid>
      <dc:creator>toffaha1</dc:creator>
      <dc:date>2022-07-27T15:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2920847#M107552</link>
      <description>&lt;P&gt;Looks like you have a space (blank) after&amp;nbsp;&lt;SPAN&gt;VApp.AssignResourcePool and&amp;nbsp;VApp.Unregister.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 16:20:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2920847#M107552</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-07-27T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921041#M107568</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/256147"&gt;@LucD&lt;/a&gt;&amp;nbsp;, you're the best &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@3CBC42A1E7848F607FD419D398107BF9/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please tell me the correct filter for =&amp;gt;VirtualMachine.Interact.GuestOperatingSystemManagementByVIXAPI, as I can't find it with get filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-VIPrivilege : 7/28/2022 11:48:34 AM Get-VIPrivilege VIPrivilege with id 'VirtualMachine.Interact.GuestOperatingSystemManagementByVIXAPI' was not found using the specified filter(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 11:51:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921041#M107568</guid>
      <dc:creator>toffaha1</dc:creator>
      <dc:date>2022-07-28T11:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921059#M107571</link>
      <description>&lt;P&gt;To be honest I have never heard of that privilege.&lt;BR /&gt;Where did you see it?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:27:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921059#M107571</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-07-28T12:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921066#M107573</link>
      <description>&lt;P&gt;I can see it listed here but I think the filter is written in a wrong way&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-3D47149A-947D-4608-88B3-E5811129EFA8.html" target="_blank"&gt;https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-3D47149A-947D-4608-88B3-E5811129EFA8.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:54:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921066#M107573</guid>
      <dc:creator>toffaha1</dc:creator>
      <dc:date>2022-07-28T12:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921084#M107574</link>
      <description>&lt;P&gt;Not sure which filter you mean?&lt;BR /&gt;If I list the privileges via the API (not via Get-VIPrivilege) that one doesn't seem to appear.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$si = Get-View ServiceInstance
$authMgr = Get-View -Id $si.Content.AuthorizationManager

$authMgr.PrivilegeList | where{$_.PrivId -match 'VirtualMachine.Interact'}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Afaik, the VIX API was terminated in favor of the &lt;A href="https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.vm.guest.GuestOperationsManager.html" target="_blank" rel="noopener"&gt;GuestOperations&lt;/A&gt;.&lt;BR /&gt;I'm not sure why it would still be listed in documentation for vSphere 7&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:46:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921084#M107574</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-07-28T13:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add these Privileges to vCenter role</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921767#M107610</link>
      <description>&lt;P&gt;Thanks &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@3CBC42A1E7848F607FD419D398107BF9/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;may be it's removed as you mentioned.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 22:55:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/unable-to-add-these-Privileges-to-vCenter-role/m-p/2921767#M107610</guid>
      <dc:creator>toffaha1</dc:creator>
      <dc:date>2022-08-01T22:55:34Z</dc:date>
    </item>
  </channel>
</rss>

