How to troubleshoot PSM for Windows SAML User authentication failures

How to troubleshoot PSM for Windows SAML User authentication failures

87
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:12 PM


Environment


14.0;14.2 Privileged Access Manager (PAM, self-hosted) PSM

Procedure


For debugging and extra logging, add these parameters to the basic_psm.ini file on the PSM and restart the service: 
EnableCredentialProviderLogging=Yes

InitialTraceLevels=1,2,3,4,5,6,7 

 

Then look in the Windows Event Logs > Application. 

You may see error messages similar to the following:

PSMCP248E: Failed to authenticate saml user. Reason: 1330
PSMCP269E Failed to open web interface, SAML feature is probably not installed.

 

You can use the reason code to investigate the authentication failure. The below web page gives a list of error codes and the reasoning behind them:

https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--1300-1699-

 

For the example above, error code 1330, mapped to 'The password for this account has expired.' And checking the PSMSAML user, the box was unchecked for 'password never expires' - after checking this box the issue was resolved.

 

Another common error is:

PSMCP248E: Failed to authenticate saml user. Reason: 1385  

 

Where the code 1385 maps to 'Logon failure: the user has not been granted the requested logon type at this computer.' - Then you can check the PSMSAML user has been added to the 'Allow log on locally' and 'Allow log on through Remote Desktop Services' GPO.

 

 

 



Actions
  • Print
  • Copy Link

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