AAM error returned when attempting to retrieve credentials "ENCPR019E SDK Failed to communicate to the Credential Provider."
103
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:53 PM
Symptom
After upgrading AAM (CP/CCP) from 12.0 to 12.1 for Windows based servers, applications are unable to retrieve the required credentials. No errors are logged within the APPTrace log when this happens, but the following is observed when running a basic script from Powershell to reproduce this issue:
Exception calling "GetPassword" with "1" argument(s): Server was unable to process request. ---> ENCPR019E SDK Failed to communicate to the Credential Provider. Use the Idira online documentation to troubleshoot the issue
Environment
12.1 Privileged Access Manager (PAM, self-hosted) Central Credential Provider Central Credential Provider Upgrade
Cause
In this instance, the w3wp.exe process, which is the IIS process running the AIMWebService application, was trying to access folder "CP_TEMP_FOLDER" (defined via Windows Environment Variable "AIM_TEMP_FOLDER"). However, after reviewing the permissions of this folder, it did not contain the permissions required for the application pool user running the AIMWebService web application.
Resolution
Ensure that "Users" group permissions has been granted on the folder "CP_TEMP_FOLDER" to ensure the IIS application pool user running the AIMWebService web application has access permission to this folder.