Manoj Chaurasia Posted September 13, 2016 Share Posted September 13, 2016 Hello - Starting today, our Scribe Insight server can no longer connect to CRM 2016 Online. When an integration attempts to run, it errors off and returns the following message: " An unsecured or incorrectly secured fault was received from the other party." We use O365 and CRM 2016 Online. I've verified that the account being used to make the connect is active, not locked out, and generally " ok" . I've also tried my own account (I am a system administrator in CRM) and it fails as well. I upgraded one of our Scribe servers to the latest Insight version, but this did not help. I don't know if the problem is Scribe, O365, CRM, or internal to my company. I've attached a screen shot of the error I see in Scribe. Below is a partial trace log I pulled from Scribe: [09/13/2016 08:40:52.487][0x0298] Getting Registry Settings [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) +Connect [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) Connect using current credentials [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) org: orgb7f10520 [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) svr: https://disco.crm.dynamics.com/ [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) domain: [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) userId: scribe_import@lord.com [09/13/2016 08:40:52.487][0x0298] 09/13/2016 08:40:52 (Adapter for Dynamics CRM) Home Realm URI: [09/13/2016 08:40:53.769]ERROR! Error Number: 0x00000380 (896) Native Error: 0x00000000 (0) Source: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.IdentityModel.Protocols.WSTrust.IWSTrustContract.Issue(Message message) at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Issue(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateTokenWithACSForCrm(AuthenticationCredentials authenticationCredentials, Uri appliesTo, Uri acsEndpoint) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateOnlineFederationInternal(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Authenticate(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.DiscoveryServiceConfiguration.Authenticate(AuthenticationCredentials authenticationCredentials) at Scribe.Adapter.Crm.Authentication.Crm2011.ServerConnection.GetDiscoverServiceProxy() at Scribe.Adapter.Crm.Authentication.Crm2011.ServerConnection.GetOrganizationAddress(Uri discoveryServiceUri, String organizationName) at Scribe.Adapter.Crm.Authentication.Crm2011.ServerConnection.GetServerConfiguration(AuthenticationDefinition authenticationDefinition) at Scribe.Adapter.Crm.Authentication.Crm2011.Crm2011ServiceProvider.GetOrganizationService(AuthenticationDefinition authenticationDefinition) at Scribe.DynamicsCrm5.Adapter.CrmDatabase.ConnectionMgr.Connect(CrmCredentials credentials) at Scribe.DynamicsCrm5.Adapter.CrmDatabase.CrmService.CrmServiceMgr50.Connect(CrmCredentials currentCRMCredentials) Description: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. [09/13/2016 08:40:53.769]ERROR! Error Number: 0x00000380 (896) Native Error: 0x00000000 (0) Source: System.ServiceModel.FaultException: ACS10002: An error occurred while processing the SOAP body. ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier 'https://disco.crm.dynamics.com/' was not found. Trace ID: 3395a202-45c3-488e-940b-ec6780c3d864 Timestamp: 2016-09-13 12:40:53Z Description: ACS10002: An error occurred while processing the SOAP body. ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier 'https://disco.crm.dynamics.com/' was not found. Trace ID: 3395a202-45c3-488e-940b-ec6780c3d864 Timestamp: 2016-09-13 12:40:53Z [09/13/2016 08:40:53.769]ERROR! Error Number: 0x00000380 (896) Native Error: 0x00000000 (0) Source: Scribe.AdapterBase.Publisher.UnableToConnectException: Unable to connect to Microsoft Dynamics CRM using your current settings. Please verify they are correct. Posted by Bryan F. on Sep 13 2016 3:47PM { U4822 , F8 , T4605 , C13324 } Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 17, 2016 Author Share Posted October 17, 2016 Did you find a resolution for this I'm also having this error with Dynamics. Thanks. Link to comment Share on other sites More sharing options...
Josh Thompson Posted October 25, 2016 Share Posted October 25, 2016 Have a look at one of these articles: http://www.dynamicscrmpros.com/scribe-fails-connect-microsoft-dynamics-c... http://www.dynamicscrmpros.com/solve-error-id3242-security-token-not-aut... If for some reason your CRM org was moved or upgraded you may have been sent to a new crm url. Open Settings -> Customizations -> Developer Resources and see if the url has changed. I had one a few weeks back that went from https://disco.crm.dynamics.com to https://disco.crm9.dynamics.com changing that setting in scribe fixed my issue. I hope one of those solutions helps! -Josh Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted November 8, 2016 Author Share Posted November 8, 2016 I have the same problem, using Dynamics CRM 2016 and O365. I think the problem is the changes done to the authentication mechanisme in CRM2016/O365. If so this needs to be adressed by Scribe ASAP. Link to comment Share on other sites More sharing options...
Marek Hlavac Posted March 6, 2019 Share Posted March 6, 2019 Shouldn't you be using https://disco.crm4.dynamics.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now