Hi,
I am trying to register service endpoint via plugin registration tool. I am doing the ACS configuration using the button(save & configure ACS) provided on Service endpoint registration dialogue. The contract is set to PersistentQueue. The path value
is set to "internal". I intend to test the persistent queue listener command line sample provided in sdk.
However when I perform "Save & Verify Authentication" in Service end point registration dialogue , I get the following error.
The token provider was unable to provide a security token. The remote server returned an error: (401) Unauthorized. : Error:Code:401:SubCode:T0:Detail:ACS50008: SAML token is invalid.:TraceID:7786c672-8704-4722-8032-a2437e0f9b49:TimeStamp:2016-01-14 17:26:55Z
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=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The token provider was unable to provide a security token. The remote
server returned an error: (401) Unauthorized. : Error:Code:401:SubCode:T0:Detail:ACS50008: SAML token is invalid.:TraceID:7786c672-8704-4722-8032-a2437e0f9b49:TimeStamp:2016-01-14 17:26:55ZDetail:
<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 server returned an error: (401) Unauthorized. : Error:Code:401:SubCode:T0:Detail:ACS50008: SAML token is invalid.:TraceID:7786c672-8704-4722-8032-a2437e0f9b49:TimeStamp:2016-01-14
17:26:55Z</Message>
<Timestamp>2016-01-14T17:26:55.114481Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>The remote server returned an error: (401) Unauthorized.</Message>
<Timestamp>2016-01-14T17:26:55.114481Z</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)
Any ideas please?