Silent authentication method required to call Lookup Dialog windows from a custom C# application RRS feed

  • Question

  • The goal is to replicate the behaviour of the original “CRM for Outlook” Add-in to show CRM lookup dialogs in the WebBrowser control (c#) without authentication requests).

    For example, the user:

    1. Specifies his credentials in the “CRM for Outlook” Add-in Configuration Wizard once to connect to the particular CRM organization.

    2. Launches Outlook with the add-in… (according to “Fiddler” authentication requests are made when Outlook is started).

    3. Then the user is able to open any CRM lookup dialogs inside the Outlook without requiring for any authentication. It appears that there is some mechanism caching the authentication credentials in the background from the previous step.

    So the question is, what mechanism is caching the user credentials and making it possible to call the CRM dialog windows? There are many examples how to connect to CRM services but this isn’t what I’m looking for.

    I’ll be very thankful for any help.

    P.S. We’ve found a solution for On-Premise versions with Active Directory authentication (I’ve implemented IAuthenticate interface to the WebBrowser control to handle authentication request) but I can’t find any information about CRM Online or partner hosted.  So, there are 3 auth types left: LiveId, IFD and Online Federation (Office 365).

    Thank you.

    Friday, April 18, 2014 3:22 PM