Error: Cannot create BDM partition for device <device name> while using XenDesktop Setup Wizard

Error: Cannot create BDM partition for device <device name> while using XenDesktop Setup Wizard

book

Article ID: CTX258291

calendar_today

Updated On:

Description

The XenDesktop Setup Wizard might fail when creating target VMs on VmWare environment under the following scenario:

  • Same service account is used; which is able to create Vms in Citrix Studio via MCS but failing in PVS
  • All permissions are provided as per article CTX214389
  • vSAN is encrypted
  • The Vm is created in the Hypervisor but the vSAN storage consmption tab keeps on loading



Resolution

Add the following setting:
Administration -> Access Control -> Roles -> %CitrixRoleName% -> Privileges -> All Privileges -> Cryptographic operations -> Direct Access.

The description of this setting is: Grants access to unencrypted  or clear text data of encrypted VMs.


Problem Cause

A data-store permission was blocking upload of the BDM when trying to create a device with the PVS XenDesktop Setup Wizard
Additional permissions are needed to manipulate the BDM for VMs noted as “encrypted”, even if it is only the underlying storage.

Additional Information

How to Define VMware vSphere User Privileges for XenApp and XenDesktop: https://support.citrix.com/article/CTX214389