CPM- Newtonsoft.Json.dll version conflict for Azure and GCP plugins
Symptom
When utilizing Google cloud platform and Microsoft azure application plugins.
Azure uses Newtonsoft.Json.dll version 6.x version.
GCP Plugin uses Newtonsoft.Json.dll 12.x version.
we cannot have two different versions in the following path: <Drive> :\Program Files (x86)\CyberArk\Password Manager\bin
Environment
12.0;12.1;12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) Central Policy Manager (CPM) Other
Cause
Manually extracting the GCP Plugin files into the /bin folder can cause this issue.
GCP Plugins has it's own dedicated file path:
<Drive> :\Program Files (x86)\CyberArk\Password Manager\bin\GCPServiceAccount
<Drive> :\Program Files (x86)\CyberArk\Password Manager\bin\GCPServiceAccount
Resolution
- Azure uses Newtonsoft.Json.dll Version 6.0.2.1693 and it should be located in the following path: <Drive> :\Program Files (x86)\CyberArk\Password Manager\bin
- GCP Plugin uses Newtonsoft.Json.dll Version 12.0.3.23909 and the files should be located into the following path:
- <Drive>:\Program Files (x86)\CyberArk\Password Manager\bin\GCPServiceAccount
- <Drive>:\Program Files (x86)\CyberArk\Password Manager\bin\GCPServiceAccount
- Remove the following files if you extract the GCP plugins into the \bin folder.
Path: <Drive>:\Program Files (x86)\CyberArk\Password Manager\bin
CyberArk.Extensions.Plugin.GCPServiceAccount.dll
Google.Apis.Auth.PlatformServices.dll
Google.Apis.Iam.v1.dll
Google.Apis.PlatformServices.dll
Google.Apis.Auth.dll
Google.Apis.dll
Google.Apis.Core.dll
Google.Apis.Core.dll
CyberArk.Extensions.Plugin.GCPGoogleAccount.dll
Google.Apis.Admin.Directory.directory_v1.dll
Google.Apis.Auth.dll
Google.Apis.Core.dll
Google.Apis.dll
- Make sure only Newtonsoft.Json.dll Version 6.0.2.16931 is in the \bin folder.