locked
The remote name could not be resolved: '****-sb.accesscontrol.windows.net' RRS feed

  • Question

  • Have a queue set up and have it working with MS Online as well as On-Premise.

    Se we know it works for both.

    We have passed our app to a 3rd party Partner to run on one of thier servers but, after installing the certificate within CRM we are getting the following error (copied from the Plugin Registration Tool).

    ----------

    The token provider was unable to provide a security token. The remote name could not be resolved: 'sendemail-sb.accesscontrol.windows.net' :

    Details:
    Plugin Trace:

    [Microsoft.Crm.ServiceBus: Microsoft.Crm.ServiceBus.ServiceBusCheckPlugin]
    [eeb706f2-b05f-4d8a-a71b-4ef680f22c5a: Verify Service Endpoint Authentication]

    Error Message:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The token provider was unable to provide a security token. The remote name could not be resolved: 'sendemail-sb.accesscontrol.windows.net' : Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147204744</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>The token provider was unable to provide a security token. The remote name could not be resolved: '****-sb.accesscontrol.windows.net' : </Message>
      <Timestamp>2013-01-14T09:24:33.4030914Z</Timestamp>
      <InnerFault>
        <ErrorCode>-2147220970</ErrorCode>
        <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>The remote name could not be resolved: '****-sb.accesscontrol.windows.net'</Message>
        <Timestamp>2013-01-14T09:24:33.4030914Z</Timestamp>
        <InnerFault i:nil="true" />
        <TraceText i:nil="true" />
      </InnerFault>
      <TraceText>[Microsoft.Crm.ServiceBus: Microsoft.Crm.ServiceBus.ServiceBusCheckPlugin]
    [eeb706f2-b05f-4d8a-a71b-4ef680f22c5a: Verify Service Endpoint Authentication]
    </TraceText>
    </OrganizationServiceFault>
       at Microsoft.Crm.ServiceBus.RouterService.ExecuteInternal(RemoteExecutionContext context, ServiceBusEndpointInformation endpointInfo)
       at Microsoft.Crm.ServiceBus.ServiceBusService.Dispatch(ServiceBusEndpointInformation endpointInfo, IExecutionContext context)
       at Microsoft.Crm.ServiceBus.ServiceBusService.PostInternal(String assemblyName, EntityReference serviceEndpoint, Boolean validateOnly, IExecutionContext context)
       at Microsoft.Crm.ServiceBus.ServiceBusCheckPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Asynchronous.V5ProxyPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Asynchronous.EventOperation.InvokePlugin(AsyncExecutionContext context, IPlugin pluginInstance)

    ----------

    The URL is clearly not HTTP so I cannot get them to test with a PING; how do you test a connection to a queue?  It might be useful for them to be able to verify that they have fixed the issue before getting back to me.

    Further, does anyone have experience of solving this?

    All I have found is this: http://social.msdn.microsoft.com/Forums/en-US/appfabricctp/thread/6a28b049-6106-4483-9e4f-11835fa6b487 which does not seem to be our problem as there is nothing on the Azure Queue restricting which server or IP can access it?

    Does it look like a firewall issue?




    Monday, January 14, 2013 9:39 AM

Answers

  • The issue with the Hosting Partner turned out to be the Async Service being on a seperate server which has no internet access.

    Might catch others out when using Azure with Hosted CRM solutions.

    Worth checking first.  We now have to find another hosting partner because the timescales for the change in infrastructure are too long.

    I had seen this answer in passing on another forum somewhere.  Hope this helps others.

    Tuesday, January 15, 2013 5:17 PM