Field not found: 'CyberArk.Casos.Structs.MSCAGConstKeyDecryptExResult.DecryptedData'.
Symptom
Error similar to the following is seen in the Third-Party debug logs when attempting account management:
ERROR -> CPMNetPlatform :: Main() -> Got exception : System.MissingFieldException: Field not found: 'CyberArk.Casos.Structs.MSCAGConstKeyDecryptExResult.DecryptedData'.
at CyberArk.Extensions.Infra.Common.CasosDecryptor.criptolibConstDecryptEX(String encodedPassword)
at CyberArk.Extensions.Infra.Common.CasosDecryptor.Decrypt(String value)
at CyberArk.Extensions.Plugin.NetPlatform.Reader.EnvReader.Read(String envVarName)
at CyberArk.Extensions.Plugin.NetPlatform.Account.AccountCreatorFromXML.createTargetAccount()
at CyberArk.Extensions.Plugin.NetPlatform.Account.AccountCreatorFromXML.CreateAccounts()
at CyberArk.Extensions.Plugin.NetPlatform.CPMNetPlatform.Main(String[] args)
Environment
9.7;9.8;9.9;9.10 Central Policy Manager (CPM) Other
Cause
Current versions of TPC and CANetPluginInvoker require a v10+ version of the casos dll (CyberArk.Casos.dll), which is not available by default in versions prior to PAS10.x
Resolution
1) Update the PAS environment to a more modern release
2) Obtain a copy of the casos dll from a 10.x release of PAS and place it in the 9.x environment