Reset the password of a local vRA user principal with vRO

• Craig

A question that I frequently see popping up is “How can I reset the password of local user in vRA?”. A while back I blogged about how to achive this with PowervRA and Set-vRAUserPrincipal. However that might not be applicable to every situation.

An alternative solution could be to use a vRO workflow. The workflow could then be presented as an XaaS blueprint and published to the catalog, enabling administrators to reset passwords via the UI.

The functionality for getting and updating principals exists in the authenticationPrincipalService:

In fact, if you take a closer look at the vCACCAFEUser class it’s possible to see what else you could achieve using the script above as a framework.

Capture