CPM - CACPM810E Failed to get user token.
Symptom
This article covers various conditions when the following error may be seen in the CPM logs:
CACPM810E Failed to get user token
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Cause
1) Password for Local Windows PluginManagerUser account on CPM OS is not the same as password stored in the Vault for this account (12.2.4 and later)
2) PluginManagerUser is not granted the "Allow log on locally" privilege on OS of the CPM
3) There is an issue with the CPM user cred file
4) Local accounts (or PluginManagerUser) on the "Deny log on locally"
Resolution
1) Update the password on the local PluginManagerUser account on the OS of the CPM
-Using the PrivateArk Client log into the vault with an administrative user.
-Navigate to the "PasswordManager_Accounts safe
-Retrieve the password stored in the "PluginManagerUser" object
-Set this password as the password of the "PluginManagerUser" account on the OS of the CPM
Note: For Privilege Cloud customers, you need to contact support to handle the password synchronization on the backend safe.
2) Grant PluginManagerUser "Allow log on locally" rights in the local policy of the CPM or using group policy if managed by the domain.
3) Recreate the CPM credfile:
-From the (..\CyberArk\Password Manager\Vault) folder
CreateCredFile.exe user.ini Password /Username {CPM user: IE PasswordManager} /Password {password} /AppType CPM /EntropyFile /DPAPIMachineProtection
-https://community.cyberark.com/s/article/CPM-How-can-I-create-or-update-the-credential-files-credfile-for-the-CPM-manually
4) Check for "Deny log on locally" rights on the local policy of the CPM and confirm that the PluginManagerUser or Local Accounts are not in that entry. That would not allow PluginManagerUser to logon locally.
5) Run a repair procedure by following this article.
Note: For Privilege Cloud customers, please use article below to recreate credential files:
https://community.cyberark.com/s/article/How-to-reset-the-CPM-and-PSM-users-in-Privilege-Cloud