Dynamics CRM 2011 on Windows Server 2012 R2 with ADFS 3.0 RRS feed

  • Question

  • Hi All. Before you say it, yes, I know CRM 2011 is not supported on Windows Server 2012 R2 and not recommended to be used with ADFS 3.0. Unfortunately for me, this is the environment we have been given.

    We have CRM working in the environment, configured as an IFD using ADFS. It appeasr to be working without issue.

    Our issue is when we try and access the CRM data through web services from a SharePoint custom site we are getting an error.

    Has anyone already installed in this sort of environment, hit this issue and fixed it. If so, your help would be greatly appreciated.

    Here is the full error for one instance:

    ERROR 23-07-2014 10:23:35 [ErrorHandler - HandleError] - XXXXXX.WebService Exception

    System.Exception: An error occurred in XXXXXXService:GetCRMService: An error occurred in XXXXXX.Business.CRM.XRMDataAccessHelper Constructor: XXXXXX.Business.CRM.XRMDataAccessHelper.CreateCrmService: An error occurred while attempting to create a CRM service.The authentication endpoint Username was not found on the configured Secure Token Service!.

       at XXXXXX.WebService.XXXXXXService.DbSearchApplication(ApplicationsSearchObject searchObject) in D:\BC\XXXXXX_Workspace\Support\Source\Projects\XXXXXX.WebService\AcecqaService.svc.cs:line 410

       at XXXXXX.WebService.XXXXXXService.SearchApplications(ApplicationsSearchObject searchObject) in D:\BC\XXXXXX_Workspace\Support\Source\Projects\XXXXXX.WebService\AcecqaService.svc.cs:line 351

       at SyncInvokeSearchApplications(Object , Object[] , Object[] )

       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)

       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)

       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    • Edited by Troy Adams Wednesday, July 23, 2014 1:27 AM
    Wednesday, July 23, 2014 1:14 AM