Hi,
Which credential ? CRM or azure credential ?
I do not understand it properly, Could you please elaborate . Below is my error details;
Plugin Trace:
[Microsoft.Crm.ServiceBus: Microsoft.Crm.ServiceBus.ServiceBusPlugin]
[def593ca-98d5-e511-8b77-005056905eb4: CRMAzure: Create of contact]
Error Message:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147204747</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''.</Message>
<Timestamp>2016-02-18T13:37:33.211656Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''.</Message>
<Timestamp>2016-02-18T13:37:33.211656Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The remote server returned an error: (401) Unauthorized.</Message>
<Timestamp>2016-02-18T13:37:33.211656Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</InnerFault>
<TraceText>[Microsoft.Crm.ServiceBus: Microsoft.Crm.ServiceBus.ServiceBusPlugin]
[def593ca-98d5-e511-8b77-005056905eb4: CRMAzure: Create of contact]
</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.ServiceBusPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Asynchronous.V5ProxyPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Asynchronous.EventOperation.InvokePlugin(AsyncExecutionContext context, IPlugin pluginInstance)
Regards,
Nirmal