Credential Provider Installation Fails on Creating Environment but doesn't write to the CreateEnv.log
Symptom
The CyberArk Credential Provider fails during installation with the error "Several errors occurred during Environment creation" There are no entries written to the CreateEnv.log
Whilst reviewing the Vault's Trace.dx "C:\Program Files (x86)\PrivateArk\Server\Logs" you can see that the Installing User is logging on to the vault but no further activity is taking place and logs off shortly after.
Environment
12.6;13.0;14.0 Privileged Access Manager (PAM, self-hosted);Conjur;Privilege Cloud Credential Provider
Cause
This failure symptom has been seen when there is an incorrect naming convention or a incomplete main_appprovider.conf file the installation is referencing.
Resolution
Any custom main_appprovider.conf name must be in the following format: main_appprovider.conf.<platform>.<version>.<Provider’s Vault username>
Example: main_appprovider.conf.Win.14.00.Prov_007
Ensure the contents of the main_appprovider.conf contains all the title headings even if there are no parameters being specified.
[Main]
[Debug]
[Cache]
[TCP]
This is outlined in our documentation "Credential Provider configuration"
https://docs.cyberark.com/credential-providers/latest/en/content/cp%20and%20ascp/implementing-configuring-credentialprovider.htm