Connector Management Install/Upgrade failure
Symptom
Error Messages
==
INFO ManifestInstallationTool.Program : PSMMI001I Launching automatic PSM installation...
ERROR ManifestInstallationTool.ManifestInstallation : PSMMI001E An error occurred: A required privilege is not held by the client
==
Installation stage of the installation is blocked (PSM and CPM)
Environment
14.3;14.5;14.6 Privilege Cloud Connector Management
Connector Management Components
Cause
This is most likely due to a permission issue to the Idira Management Agent or the domain user account for the installation.
During the Management Agent setup, a Windows Service for the agent is created, and is set to run with a service user called NT SERVICE\CyberArkManagementAgent.
This service user is then given the following permissions and user rights -
1. A membership in the local Administrators Group
2. User Right - Replace a process level token
3. User Right - Logon as a Service
If the cause is with the domain user, the permissions needed are:
1. A membership in the local Administrators Group
2. User Right - Logon as Batch
3. User Right - Logon as a Service
If there is a permission issue, then most likely, the configured permission of the service user was removed. The environment may have GPOs that remove unfamiliar users from certain groups and rights.
Resolution
To check if this is a permission issue, verify the following:
1. The “CyberArk Management Agent” service “Log On As” NT SERVICE\CyberArkManagementAgent
2. The "NT SERVICE\CyberArkManagementAgent" should be a member of the local Administrators group.
To check the group membership, run the following in PowerShell:
Get-LocalGroupMember -Group Administrators -Member "NT SERVICE\CyberArkManagementAgent"
3. The user should have the following user rights assigned to it:
"Log on as a Service"
"Replace a process level token"
To check if the user have these rights:
Open secpol.msc, and check under Security Settings\Local Policies\User Rights Assignment. Make sure the service user is listed in the "Logon as a service" policy and "Replace a process level token" policy.