Unable to run hardening on the PSM after adding PSMConnect and PSMAdminConnect accounts as Domain Users

Unable to run hardening on the PSM after adding PSMConnect and PSMAdminConnect accounts as Domain Users

169
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:55 PM


Symptom


1- Error after running hardening script:

 

System.Management.Automation.MethodInvocationException: Exception calling "AddAccessRule" with "1" argument(s): "Some or all identity references could not be translated." ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.

 

2- Error after running Applocker script:

 

[Idira PSM AppLocker configuration script error]

Error message: The following user cannot be resolved: domain\XXX-XXX-PSMConnect_Test, Reason: Some or all identity references could not be translated.



Environment


11.4;11.5;11.7;12.0;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) PSM

PSM installation and Hardening



Cause


The naming system used is too long for the script to identify the names in the AD. This it's actually caused by use of pre-Windows 2000 logon name larger than 20 characters in the hardening and AppLocker scripts.



Resolution


Shorten the names to be no more than 20 characters in total.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000xBNCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail