After upgrade of Credential Provider, Application Password Provider service will not start
160
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM
Symptom
This behavior is observed when upgrading the Credential Provider from 32 bit to 64 bit, for example 11.4 32 bit -> 12.6 64 bit. To upgrade from 32 bit to 64 bit, you should uninstall the 32-bit Credential Provider and install the 64-bit Credential Provider as stated in this document here:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/CP-Interactive-Upgrade-Windows.htm
In place upgrades from 32 bit to 64 bit are unsupported.
After upgrading the Credential Provider, Application Password Provider service will not start. Upon trying to start the service, you receive the error: The CyberArk Application Password Provider service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
Environment
12.6 Privileged Access Manager (PAM, self-hosted) Credential Provider Credential Provider
Cause
The APPConsole log shows the following error:
APPAP037E Application Password Provider has been terminated. (Diagnostic information: APPAP047E Failed to get main parameters file. File could not be retrieved from the Vault and does not exist on the file system from previous usages, -1).
Stating that it can't retrieve the main_appprovider.conf file from the vault or locally.
Resolution
Check the parameter AppProviderVaultParmsFile= in the basic_appprovider.conf file in the Credential Provider install path. This should match the .conf file that is in the AppProviderConf safe on the vault.
In this example, they do not match. This shows upgrading the Credential Provider from 11.4 to 12.6, which resulted in this descrepancy.
If they do not match, then you can either change the AppProviderVaultParmsFile in the basic_appprovider file to match what is on the vault, or you can change the .conf file on the vault to match what the AppProviderVaultParmsFile is on the basic_appprovider file.
After making those changes, try to start the Application Password Provider service again.