Users sometimes encounter failures when attempting to create snapshots of virtual machines (VMs) using the PowerCLI `New-Snapshot` command, even when appropriate permissions are configured at the parent folder level. This suggests that permission inheritance for child objects is not functioning as expected.
This issue stems from the way the vSphere API handles permission requirements during paginated property retrieval operations:
Initial API Call (`RetrievePropertiesEx): This call only requires the View privilege.
Subsequent Paginated Calls (ContinueRetrieve and CancelRetrieve): These calls, however, require the Read privilege at the vCenter root folder (group-d1).
If the user or group lacks Read access at the vCenter root level, PowerCLI operations involving multiple pages of results (such as VM queries during snapshot operations) will fail with permission errors.
This behavior has been resolved in vCenter Server 8.0.3.
Workaround for v8.0.2 and Earlier Versions:
For environments running v8.0.2 or earlier, assign ReadOnly permissions to the affected user or group at the vCenter root folder level.
Workaround Steps: