Unable to retain the campaign for connect configuration



We are using Episerver.CampaignForConnect v3.0

Please note following issue does not happen on Integration or another environment where we have single instance.

  1. Go to Admin mode and open Episerver Campaign under config tab.
  2. Enter connector configuration for Episerver Campaign. E.g. username, password, and mandotor id.
  3. Save the changes.
  4. Go to one of your Episerver forms and validate if the campaign was successfully able to connect and you can see recipient lists.
  5. Everything looks good.
  6. Go back to Admin mode after 5-10 minutes. Connector configuration you had saved is wiped out.

Not sure if anyone else has encountered this?

~ Sujit

Jun 04, 2021 19:36

Hello Again, I forgot to post an update on this thread. 

Solution to the above problem was defined in this article https://support.optimizely.com/hc/en-us/articles/360003193652-Deploying-Episerver-sites-with-Marketo.

Below description is from the article in case above article is not visible to user.

In EPiServer.ConnectForMarketingAutomation.4.3.0 we added an additional method of encrypting connector credentials (AES encryption with an SHA256 computed hash based on the value of a key “MAICryptoKey” in the appSettings).

We encrypt/decrypt the credentials based on the "MAICryptoKey" key in the app settings and if it doesn't exist, we encrypt them using machineKey.

Since the machineKey would vary on each machine, you can prevent an issue with Marketo by adding your own unique value for "MAICryptoKey." 

Resolution to the above problem is to ensure you add an app settings named MAICryptoKey with unique value. And cleanup your Marketo bigtable data.


~ Sujit

Sep 17, 2021 13:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.