PSM Registration Stage failed when PVWAAppUser is missing
243
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:00 PM
Symptom
The Registration stage registers the Privileged Session Manager server to the Vault is failing at RegisterPsm stage.
PS C:\Temp\Privileged Session Manager\InstallationAutomation> .\Execute-Stage.ps1 .\Registration\RegistrationConfig.XML -pwd Cyberark1
Execute stage 'Registration'
Executing step 'RegisterPsm', 1 out of 1...
Starting Registration - this might take several minutes ...
The operation completed successfully.
Registration stage completed with the following script/s failure:
RegisterPsm
Please see the log for more details.
You can run the failed steps separately, automatically by disabling all other steps, or manually, in order to complete the installation.
logfile location : C:\Windows\Temp\PSMRegistration-050919-141604.log
Environment
10.7;10.9 PSM is install using Automatic Installation as per https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/PSM_AutomaticInstallation.htm#PrivilegedSessionManager.
Cause
As per RegisterComponent.log in (\Privileged Session Manager\RegistrationTool\Log folder), PVWAAppUser account does not exists in the Vault.
019-05-09 14:16:07,761 ERROR - VLTS019E Failed to add/update user PVWAAppUser ownership on safe PSM. Description: ITATS003E User or Group PVWAAppUser has not been defined. 2019-05-09 14:16:07,761 DEBUG - VLTS002I End Method AddSafeOwner. 2019-05-09 14:16:07,761 ERROR - PSMCE011E Vault environment creation was aborted. Description: PSMCE018E Failed to add safe ownerships for PSM users and safes 2019-05-09 14:16:07,777 DEBUG - VLTS001I Begin Method LogOffVault. 2019-05-09 14:16:07,839 DEBUG - VLTS002I End Method LogOffVault. 2019-05-09 14:16:07,839 FATAL - RGSCOMP008E Registering components aborted. Description: PSMCE018E Failed to add safe ownerships for PSM users and safes
Resolution
- Ensure PVWAAppUser and PVWAGWUser exists in the Vault even though it is not being used by any PVWA.
- Remove the PSMApp* and PSMGw that was created by the failed Registration stage.
- Rerun the Registration stage, where registers the Privileged Session Manager server to the Vault as per https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/PSM_AutomaticInstallation.htm#Registration.
- You will see the following success message:
PS C:\Temp\Privileged Session Manager\InstallationAutomation> .\Execute-Stage.ps1 .\Registration\RegistrationConfig.XML -pwd Cyberark1
Execute stage 'Registration'
Executing step 'RegisterPsm', 1 out of 1...
Starting Registration - this might take several minutes ...
The operation completed successfully.
Step 'RegisterPsm' completed successfully.
The following steps succeeded:
RegisterPsm
Registration stage completed successfully :-)
logfile location : C:\Windows\Temp\PSMRegistration-050919-142849.log