Five-Minute Integration Between Dynamics CRM and LinkedIn


I recently had a client ask about integration between Dynamics CRM and LinkedIn. If you are not familiar with LinkedIn ( ) it is ‘Facebook for business contacts’. Digging around I found this excellent post by fellow CRM MVP and all-round decent bloke Matt Wittemann.

The problem was this post was almost three years old and designed for version 4.0. Would it work with CRM 2011? The great news is not only does it work for CRM 2011, it is so much easier than it was for CRM 4.0.

How To Set Up The Integration

The first thing you need to do is take Matt’s html code and save it to an html file (I just pasted it into Notepad and did a ‘Save As…’).

Now we go to CRM and go to Settings-Customizations-Customize The System-Web Resources and click the new button.


We give our web resource a name and specify the type as Web Page. Browse to the location where you saved your html file, select it and hit the save button.


Now go to the Lead entity forms area (Settings-Customizations-Customize The Solution-Entities-Lead-Forms) and add the web resource to the Main Form. to do this open up the Main Form and click the Insert tab then select Web Resource.


Save, Publish and you are done!

The end result should be a window on the Lead form which, when you change the Lead record’s company, adjusts the LinkedIn window to show you who you know that works there and a link to show everyone else that works there that you may have access to. You may see a warning message about mixed content. This is because in CRM Online we use a secure html connection (https) but the script is using plain old http. Hopefully someone more adept than me will read this blog and comment how to get rid of this minor inconvenience.


So there it is, no code, no messing about with ISV folders and a solution that works on premise or in the cloud (in this case I used the Lost In Redmond 30-day cloud trial system I had used in my previous blog post).


10 thoughts on “Five-Minute Integration Between Dynamics CRM and LinkedIn

  1. Unfortunately even if I did have a link, linkedin has changed their authentication process since I wrote the article which renders the old code useless.

    I do not believe Matt has posted an update but if he does I'll add it as a comment here.


  2. hello Farham

    i tried your link and i reach to a point where i put the APP Key and Secret Key and gave me a message box “Validation API key” and never get any window or a message after that, just loading and loading.

    can you help please


  3. Thanks Leon for such a helpful post.
    How about Matt's html code? Where can I find it… When I click on “” – I don't see any thing posted there.

    Thanks in advance Leon.

    Best Regards,


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s