Accounts not unlocking after PSM session even though it's configured on the PVWA correctly

Accounts not unlocking after PSM session even though it's configured on the PVWA correctly

174
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:02 PM


Symptom


Trying to utilize "Enforce check-in/check-out exclusive access" but cannot get the accounts to auto check-in after the user disconnects from the PSM.

ExclusiveUnlockAfterPSMSession is set to Yes. It is in the logs that the PSM is unlocking it but it never actually gets unlocked.


Environment


11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted) PSM You might see log entries like this is ...\PSM\Logs\PSMTrace.log:

PSMSR1303I Unlock account, AccountId = <Account-ID-Placeholder>
PSMSR1260I Going to call REST https://<PVWA-Address-Placeholder>/PasswordVault/accounts/<Account ID Placeholder>/Unlock
PSMSR1261I REST accounts/<Account-ID-Placeholder>/Unlock returned OK
PSMSR1301I Unlock REST status code = 200


Cause


While the logs make it look like it succeeded, we can see the account is not unlocking in the PVWA. These log messages a little miss leading as they indicate the PVWA address was reached, not that the account was unlocked.

When the API was setup on the PSM, there was a "typo" in the ...\PSM\Vault\vault.ini file. Under the API portion, there is a spot specifying the PVWA's address. At the end of the address it should include /API

If you look closely in the PSMTrace log you'll see the incorrect api call, missing /API:
https://<PVWA-Address-Placeholder>/PasswordVault/accounts/<Account-ID-Placeholder>/Unlock

Correct API call:
https://<PVWA-Address-Placeholder>/PasswordVault/API/accounts/<Account-ID-Placeholder>/Unlock


Resolution


In the ...\PSM\Vault\vault.ini file, ensure /api is present at the end of the PVWA's address:
[API]
Addresses="<PVWA url>/api"

If You needed to modify the file, save it and revoke then recreate the API key. See 
Article Number: 000029918 for steps in re-creating the API key on the PSM.


Actions
  • Print
  • Copy Link

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