Changing VMware Aria Automation 8.x's VMware Identity Manager configuration with vracli vidm set
search cancel

Changing VMware Aria Automation 8.x's VMware Identity Manager configuration with vracli vidm set


Article ID: 322719


Updated On:


VMware VMware Aria Suite


The script follows the below logic and is available on all supported versions of VMware Aria Automation 8.x out of the box:
  • assumes that vIDM has already been changed and the deploy script has failed.  The recovery script will:
    • Remove the old vIDM entry from the identity_organization table.
    • Switch the organization ID of the old vIDM and set it to the new vIDM.
    • Set the old organization owner role to the new user id of the organization owner, which would enable the organization owner to login and modify the user roles of the rest of the users. After user roles have been restored the users will be able to view their content.

  • The VMware Identity Manager (vIDM) that a VMware Aria Automation 8.x instance is using was changed with vracli vidm set
  • Attempts to start the application with /opt/scripts/ fails with:
    500 Internal server error
  • The vIDM appliance has changed, but the FQDN has remained the same
  • Attempts to start the application with /opt/scripts/ succeeds but the configuration admin user generates a 403 error on attempted log in.


VMware vRealize Automation 8.x
VMware Identity Manager 3.3.x


VMware is aware of this issue. Please see the workaround for further details.



  • You have backups of the VMware Aria Automation 8.x appliance(s)
    • You must back up all VMware Aria Automation appliances, at the same time - simultaneously for all nodes.
    • If you are making the snapshots manually, you must start the snapshots of the second and the third node not more than 40 seconds after you start the snapshots for the first node.
    • When you back up the VMware Aria Automation appliance, disable in-memory snapshots and enable quiescing (quiescing is a requirement only for version 8.9 and newer).


  1. Validate the Default Configurator Admin Username, in the global environment on VMware Aria Suite Lifecycle 8.x.image.png
  2. SSH to one of the VMware Aria Automation 8.x nodes.
  3. Run the following command, considering:
    vracli vidm set https://ID1 admin ID2
  • Replace ID2 with the user found in step 1.
  • Replace ID1 with the Load Balancer VIP for vIDM cluster, in case of 1 node vIDM use the first node FQDN.
  • After running this command the prompt will show you the vIDM certificate SHA256, validate this is the right certificate, and then accept it by typing “yes”. 
  • Then you will ask to type a password, this is the vIDM admin password.
  • This is an example as a reference.
  1. Restart the services

For VMware vRealize Automation 8.4 and later run

vracli vidm apply
Monitor the restarting process of the identity services pods, and wait until they are running.
kubectl get pods -n prelude -w | grep identity-service

For 8.3 and older versions

  1. Then execute the script according to the appropriate scenario below.

Recovery Scenario #1: New vIDM appliance hostname

  1. In order to associate a new vIDM appliance with VMware Aria Automation 8.x. Run the following commands,
/opt/scripts/ --vidm-url-new https://ID3
  • For vIDM cluster replace ID3 with the FQDN of the first node 
  • For vIDM 1 node, replace ID3 with the vIDM FQDN
  1. Then restart the services using the following command

Recovery Scenario #2: Same vIDM appliance hostname

  1. In case the vIDM hostname has not changed and you need updated information included in the output of vracli vidm. Run the following command
/opt/scripts/ --vidm-url-new https://ID4 --same-hostname --vidm-admin admin --vra-configuration-admin ID5 --no-verify
  • For vIDM cluster replace ID4 with the FQDN of the first node 
  • For vIDM 1 node, replace ID4 with the vIDM FQDN 
  • Replace ID5 with the Default Configurator
  1. Then restart the services.


  • It is expected that this script updates the vIDM information, you must have 3 UPDATEs. 
  • After running the  script, it is required to run the script, and not just vracli vidm apply.


  1. After updating the vIDM information in the VMware Aria Automation 8.x Database with the  script, clear the cookies of your browser or create a new incognito or in private mode window, and log in to VMware Aria Automation 8.x using the Default Configurator Admin Username.
  2. Assign the services roles and organization roles to Groups and Users following Administering Users and Groups in vRealize Automation

Additional Information


Important! The contents of this article are intended for unexpected failover scenarios only.  For Site Recovery Manager failovers, utilize the supported steps defined here.

Associating a new vIDM to VMware Aria Automation 8.x will reset the Organization and Services Roles assigned to Active User and Enterprise Groups on VMware Aria Automation 8.x, after running this kb will be required to login using the Default Local Admin Configurator to VMware Aria Automation 8.x and then assign the roles. 

Attachments get_app