Resetting VMware Identity Manager Default Configuration Admin password
search cancel

Resetting VMware Identity Manager Default Configuration Admin password

book

Article ID: 322712

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article includes different alternatives to update the Default Configuration Admin password

  1. Using an Email server
  2. Via Rest API from Command Line Interface (CLI) and curl
  3. Via Rest API using Postman

The VMware Identity Manager local user, Default Configuration Admin, is locked due to an incorrect password or it is required to change the password

Day 2 actions (upgrades, inventory sync, etc) VMware Aria Suite Lifecycle fails with the error LCMVIDM70000

 

Environment

VMware Identity Manager 3.3.x
VMware Identity Manager 2.x

Cause

  • The user has forgotten the password or it is locked
  • The Default Configuration Admin account is created by VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) with the Roles of Readonly Admin and Super Admin role, because of this the password reset is not possible from Horizon

Resolution

Prerequisite

  • Validate the Default Configuration Admin username in the globalenvironment in VMware Aria Suite Lifecycle 8.x (vRealize Suite Lifecycle Manager)


Procedures

This article includes different alternatives to update the Default Configuration Admin password

  1. Using Email Server.
  2. Via API from Command Line Interface (CLI) using curl commands
  3. Via API using Postman

 

1. Using the Email Server

  1. Login to the vIDM console using the admin user or an administrator
  2. Add or validate you have an Email Server



  1. Select User and Groups, then the Default Configuration Admin username and then click on Reset the password, the administrator email will receive the steps to reset the password


  2. Please follow the steps indicated in the Next Steps section of this article

 

2. Via API from Command Line Interface (CLI) using curl commands

  1. Obtain a Bearer Token and configadmin ID from the UI:
    1. Login to vIDM as admin
    2. Open the client browser DevTools by pressing F12
  2. Navigate to the Network tab, search for an example request (e.g. PasswordState), and view the request header details:
    1. Obtain the configadmin ID from the Request URL portion of the header details: https://<FQDN>/SAAS/jersey/manager/api/scim/Users/<CONFIGADMIN ID>/PasswordState
    2. Obtain the Bearer token from the Cookie section (there may be several cookies separated by a semi-colon, only copy the HZN cookie value ey... without the semi-colon)
  3. SSH to VMware Aria Suite Lifecycle or a Linux server in order to execute the curl commands
  4. Run the command to update the password
curl -k --location --request PATCH 'https://ID1/SAAS/jersey/manager/api/scim/Users/ID4' \
--header 'Authorization: Bearer ID2' \
--header 'Content-Type: application/json' \
--data-raw '{"password":"ID5"}'

Considering:         

  • ID1: vIDM FQDN
  • ID2: Cookie or Bearer Token obtained on step 2.2
  • ID4: Default Configuration Admin id obtained on step 3.2
  • ID5: new password value

 

3. Via API using Postman

  1. Capture the Bearer token and Default Configuration Admin username ID following steps from 1 to 3
  2. In Postman, select the plus sign to create a new request


  3. Change the method to Patch


  4. Add the following REST API: https://ID1/SAAS/jersey/manager/api/scim/Users/ID4
  • Where:
    • ID1: vIDM FQDN.
    • ID4: Default Configuration Admin id obtained on step 2.3


  1. In the Params add the following parameters
  • Key: Accept Value: application/json
  • Key: Content-Type Value: application/json

  1. Click on Authorization, in type select Bearer token.

  2. Paste HZN value captured in step 2.2 in the Token field.



  3. Click on Body, then select raw and JSON as format. Type the following
    { "password": "ID5" 

         Where ID5 is the new password.

         

  1. ​​​​​Click on Send 

       

  1. Validate the results, the code 204 is expected
  2. Try to login to vIDM UI and validate that you can log in using the new password
  3. Proceed with the next steps

 

 

Next Steps

It is required to remediate the password in Locker by following this article Remediating passwords updated outside of VMware Aria Suite Lifecycle