This workflow enables a delegated administrator to add unmanaged virtual machines to a manual desktop pool. A vCenter Server instance manages the unmanaged machines, but the vCenter Server instance is not added to VMware Horizon 8.

Note: This workflow does not add physical machines or non-vSphere virtual machines. To add those types of machines, see Adding Physical Machines and Non-vSphere Virtual Machines to Pools.
Inputs/parameters Pod, pool ID, list of virtual machines, or guest credentials. For more information, see the Limitations row in this table.
Prerequisites See Prerequisites for Adding Unmanaged Machines to Pools.
Results The selected virtual machines are registered and added to a manual desktop pool.

If you try to use this workflow to add multiple machines, but some machines are not added, the workflow fails. Error messages appear in the log file, specifying why the machines were not added. Other machines are added successfully.

Limitations
  • To add a machine back to an unmanaged pool that you previously removed from the pool in Horizon 8, wait for some time before adding the machine back to the pool.
  • Select virtual machines only from vCenter Server instances that have not been added to Horizon 8. All vCenter Server instances are listed, meaning that vCenter Server instances that have been added to Horizon 8 are not filtered out.
  • If all the virtual machines from the vCenter Server instance do not appear in the virtual machine folder, you can select machines from individual host folders. This issue can occur when you have many virtual machines.
  • After you run the Add Guest Credentials workflow and the Manage Delegated Administrator Configuration for Registration workflow, guest credentials might not be populated in the vRealize Automation service catalog for several minutes. You might have to log out of vRealize Automation, and log back in, to see the credentials.
  • If you remove guest credentials by running the Remove Guest Credential workflow, you must also run the Refresh Delegated Administrator Configuration workflow in the Configuration/Delegated Admin Configuration folder. If you do not do so, when you run the Add Unmanaged Machines to Pool workflow, you might see the previous guest credentials in the drop-down menu in the workflow. If you select these credentials and run the workflow, you receive the Can not find credential named TestCredentials Dynamic Script Module name :getGuestCredential#7) error message.