CRM Extensions

MS CRM 2011: Import of marketing list members using standard import with small extensions

Unfortunately at the moment it is impossible to import Marketing Lists Members to CRM with out-of-box import. My friend, former MVP and employee of Microsoft Artem Grunin provided good approach how to eliminate this problem with small customizations and plugin.

Main idea is:

1. Create custom entity List Member.

2. Add relationships between List Member (Custom) and entities Marketing List, Lead, Account and Contact.

3. Develop plugin which will handle Create operation of List Member and Add members to correspond list.

Create solution:

Add Account, Contact, Lead and Marketing list entities to it:

Create custom entity List Member and add required relationships to Contact, Account, Lead and Marketing List:


After all relationships were added you should have something similar to following:

Customizations part is finished. Next part is plugin. Open Visual Studio and create new project based on template, create new Plugin to handle creation of List Member. Here is code for this plugin:



Demonstration – I have create 2 test accounts Import Test 1 and Import Test 2 and 2 lists – List 1 and List 2 as it shown and I have create import file which is provided table:



List Account
List 1 Import Test 1
List 2 Import Test 2

After you can import this file to CRM using standard CRM Import:


And result – form of Marketing List – List 1:

Here are source code and solution:


  1. Interesting post. I implemented it in a different way. The company for which I built the solution usually imports event visitors out of Excel file and then wants to generate email blast with "Thank you" message. So, the approach was the following: first import visitors as Campaign Responses, next using written WebApp we process these Campaign Responses and check by email if such a person exists in the system if found it is added to the created MarketingList if not then is is first created and only then added.

  2. I agree, this is an interesting solution to this problem. I came up with a slightly different way yet again to implement this by using a combination of a Custom entity, a dynamic Marketing list and a conversion to a Static Marketing list. I wrote about it here if it's of interest to you: Importing Marketing List Members

    1. Hello,
      Should work fine for CRM 2016. Of course you will have to manually make mentioned customizations. Plugin code is still valid.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.