I put a "Get Virtual Machines by Name" workflow using a pre-set attribute for the string VM name before the Change Credential. This works and I get around the VcPlugin issue...thanks for that. However, the goal of "Change Credential" is not working. If I output "Server.getCurrentLdapUser().displayName" after the change credential, I get the correct user (the service account with full perms to vCenter). For the next schema item, when I do the desired "Get Virtual Machines by Name", it still appears to use the credentials of the user that initiated the request. The goal is to allow any Domain User to make a change (done by a service account) even if they don't have vCenter permissions.
↧