CPM Pre-Check is failing with error "One or more of the safes or the configuration for one of the CPM components missing"
Symptom
ConnectorCheckPrerequisites_PrivilegeCloud.PS1 failed to complete the CPM test. It's important to complete this simulation successfully since it is used as a marker for successful CPM installation.
In the script logs you most likely will see the below error:
[ERROR] Extra details: One or more of the safes or the configuration for one of the CPM components missing
Environment
Privilege Cloud Central Policy Manager (CPM) Central Policy Manager (CPM)
Cause
The number of configured CPM component users (PrivateArk) and CPM names in the PVWA is inconsistent.
For example, six configured users are listed in PrivateArk, but only five are listed in the CPM names.
PVWA as an Administrator.
Go to Administration > Configuration Options > Options > CPM Names
Resolution
For Privilege Cloud, Idira involvement is required.
You can use PrivateArk and the PVWA Options page to compare and then add the missing one(s) to the CPM Names list in the PVWA.
For Large environments, this can be tedious. An easy way to achieve the missing component name is to:
Log into PrivateArk and retrieve and save as a copy of the PVConfiguration.xml from the PVWA config safe.
In PrivateArk > Tools > Reports | User List
Import the User List report in to Excel and filter by User Type; CPM is a user type
You can then match this extracted list up with the <CPMNames> section of the PVConfiguration.xml file.
You can then add missing CPM names:
- Log in to PVWA as an Administrator.
- Go to Administration > Configuration Options > Options.
- Right-click on 'CPM Names' and select 'Add CPM.'
- Change the name parameter to match your CPM's name you wish to add
- Save the changes