Error APPAP307E after upgrading CCP
Symptom
After upgrading CCP, as a validation, we tested getting passwords from CCP. However, the following error occurs "APPAP307E":.
Invoke-RestMethod : {"ErrorCode":"APPAP307E","ErrorMsg":"Authentication error for the AIM webservice App ID [AIMWebService]. Reason: APPAP133E
Failed to verify application authentication data: Hash
Environment
12.1;12.4;12.6;13.0;14.0 Privileged Access Manager (PAM, self-hosted) Central Credential Provider
Cause
AIMWebService.dll will be updated with the version upgrade.
C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll
The Hash value that the Application needs to be updated.
Resolution
Please re-fetch the hash value from the CCP server and add it to the Application:
- Go to path "\ApplicationPasswordProvider\Utils" in the Installed directory and Open command prompt/PowerShell with admin privileges.
- Run the command :
NETAIMGetAppInfo.exe GetHash /AppExecutablesPattern="C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll"
- Save the Hash output from the command.
- In PVWA > Application > AIMWebService.
- Remove the old Hash.
- Add the saved Hash output in the application by clicking Add > Hash.
More Details can be found on this documentation - https://docs.cyberark.com/credential-providers/latest/en/content/ccp/configure_ccpwindows.htm#DefinetheCentralCredentialProviderwebservice