Outlook CRM IFD Method not found: 'Microsoft.Xrm.Sdk.Client.SecurityTokenResponse RRS feed

  • Question

  • Hello,

    I have setup an IFD of CRM 2011 which is working 100% internally and externally through the web.

    However, when I try to connect the Outlook client using the external url, the user, organization and display name populate correctly, but when I click OK, the following error is displayed:

    There is a problem communicating with the Microsoft Dynamics CRM server. The server might be unavailable. Try again later. If the problem persists, contact your system administrator.


    Additionally, the log shows:

    22:29:59|  Error| Exception : Method not found: 'Microsoft.Xrm.Sdk.Client.SecurityTokenResponse Microsoft.Xrm.Sdk.Client.IWebAuthentication`1.Authenticate(System.IdentityModel.Tokens.SecurityToken, System.Uri, System.String)'.    at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.AuthenticateBearer()
       at Microsoft.Crm.Outlook.ClientAuth.ClaimsBasedAuthProvider`1.SignIn()
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.SignIn(Uri endPoint, Credential credentials, AuthUIMode uiMode, IClientOrganizationContext context, Form parentWindow, Boolean retryOnError)
       at Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvidersFactory`1.GetAuthProvider(Uri endPoint, Credential credentials, AuthUIMode uiMode, Uri webEndPoint, IClientOrganizationContext context, Form parentWindow)
       at Microsoft.Crm.Application.Outlook.Config.ServerInfo.LoadUserId()
       at Microsoft.Crm.Application.Outlook.Config.ServerInfo.Initialize(Uri discoveryUri, OrganizationDetail selectedOrg, String displayName, Boolean isPrimary)
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadDataToServerInfo()
       at Microsoft.Crm.Application.Outlook.Config.ServerForm.<InitializeBackgroundWorkers>b__2(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


    I had some issues before with the federationmetadata url for the CRM internal and external urls, but I resolved it using /handlers/FederationMetadata.ash instead of /FederationMetadata/2007-06/FederationMetadata.xml. This issue was due to multiple configurations of claims based and ADFS (and the IIS rewrite module), and I suspect it could be causing my problem with the Outlook client.

    Wednesday, December 21, 2011 4:47 AM

All replies