Provider - APPAP007E Connection to the Vault has failed (Error:CASAS022E Credential file contains different user than the master session)

Provider - APPAP007E Connection to the Vault has failed (Error:CASAS022E Credential file contains different user than the master session)

128
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:00 PM


Symptom


The provider failed to retrieve password, returning the following error:
APPAP007E Connection to the Vault has failed (Error:CASAS022E Credential file contains different user than the master session user. Vault=[DemoVault], CredFile=[/etc/opt/CARKaim/vault/user.cred], User=[App_user].)



Environment


10.5;10.10;11.4;11.5;11.6;11.7;12.0;12.1;12.4;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Credential Provider AAM

Cause


This can be the result of two different problems:
  1. The Provider user's password is "out of sync"
  2. The application user credential file changes after the Provider already started "serving" the application and then required to do so again before it updated the password for the application user. This causes the provider to attempt performing a logon with the previous values.


Resolution


  1. Synchronize the Provider user and restarting the Provider
  2. This can be solved in 2 ways:
    • Waiting for the next background refresh cycle in which the provider performs a log off and then a log on.
    • Delete both provider and application users, using the PrivateArk client, and recreate the credential files. (no need to uninstall the provider)
Related information can be found in solution #00002091


Additional Information


Details

SYMPTOM:
The provider failed to retrieve password, returning the following error:

APPAP007E Connection to the Vault has failed (Error:CASAS022E Credential file contains different user than the master session user. Vault=[DemoVault], CredFile=[/etc/opt/CARKaim/vault/user.cred], User=[App_user].)


PROBLEM:

This can be the result of two different problems:

  1. The Provider user's password is "out of sync"
  2. The application user credential file changes after the Provider already started "serving" the application and then required to do so again before it updated the password for the application user. This causes the provider to attempt performing a logon with the previous values.

SOLUTION:

  1. Synchronize the Provider user and restarting the Provider
  2. This can be solved in 2 ways:
    • Waiting for the next background refresh cycle in which the provider performs a log off and then a log on.
    • Delete both provider and application users, using the PrivateArk client, and recreate the credential files. (no need to uninstall the provider)

Related information can be found in solution #00002091




Actions
  • Print
  • Copy Link

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