web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error de negociación de segurdiad SOAP

(0) ShareShare
ReportReport
Posted on by

tengo un cliente de outlook que no he podido conectar al CRM, puedo loguearlo por medio del Browser pero cuando instalo el cliente de outlook y le doy la url para conectarse me aparece el siguiente error.

22:24:30| Info| === Microsoft Dynamics CRM for Outlook Configuration Wizard logging started: 20/05/2015 10:24:30 p. m. ===
22:24:30|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ClientConfig.Initialize
22:24:30| Info| Client Configuration Wizard Version : 7.0.0000.3543
22:24:30| Info| Client Configuration Wizard LanguageID : 1033
22:24:30|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
22:24:30| Info| Query all rows in profile table
22:24:30| Info| Outlook is initialized
22:24:30|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.Validator.IsOutlookInitialized
22:24:30| Info| Client Configuration Wizard Running Mode : Normal
22:24:30| Info| Configuration file Type : OnPremise.
22:24:30|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm
22:24:30|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
22:24:30|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetAllCRMOrgsInOutlookProfile
22:24:47| Info| Logon mapi store
22:24:47| Info| Logon admin service
22:24:47|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
22:24:47| Info| Query all rows in msg service table
22:24:47|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.OutlookCRMDatastoreInstaller.GetServiceIds
22:24:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.CleanUpDatastoreIfNeeded
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ConfigInfo.ConfigInfo
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm
22:24:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.MainForm_Shown
22:24:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.MainForm.AddServer
22:24:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.ServerForm
22:24:48|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.LoadAvailableUrls
22:24:48|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.SetUIData
22:25:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
22:25:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
22:25:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.TestConnection
22:25:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm._serverUrlConnectButton_Click
22:25:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
22:25:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
22:25:06|Verbose| Method entry: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
22:25:06| Info| Current UTC date/time from windows time server on the internet: 05/21/2015 03:25:14
22:25:06| Info| Client UTC Date/Time: 05/21/2015 03:25:06
22:25:06| Info| Difference (in minutes) between client time and actual time: 0.133591176666667
22:25:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.LocalTimeDiagnostic.ExecuteInternal
22:25:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.ConfigDiagnostics.DiagnosticEngine.Run(Environment)
22:25:06|Verbose| Method exit: Microsoft.Crm.Application.Outlook.Config.ServerForm.RunEnvironmentDiagnostics
22:25:06| Info| Attempting AD org service connection.
22:25:08| Info| Error connecting to URL: {0} Exception: {1}| server/.../Organization.svc, System.ServiceModel.Security.SecurityNegotiationException: Error de negociación de seguridad SOAP con 'server/.../Organization.svc' para el destino 'server/.../Organization.svc'. Consulte la excepción interna para obtener más información. ---> System.ComponentModel.Win32Exception: Error de negociación del Proveedor de compatibilidad para seguridad (SSPI).
en System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] incomingBlob, ChannelBinding channelbinding, ExtendedProtectionPolicy protectionPolicy)
en System.ServiceModel.Security.SspiNegotiationTokenProvider.GetOutgoingBlobProxy.GetOutgoingBlob(ChannelBinding channelBinding)
en System.ServiceModel.Security.RequestSecurityToken.GetBinaryNegotiation()
en System.ServiceModel.Security.WSTrust.Driver.WriteRequestSecurityToken(RequestSecurityToken rst, XmlWriter xmlWriter)
en System.ServiceModel.Security.RequestSecurityToken.OnWriteTo(XmlWriter writer)
en System.ServiceModel.Security.RequestSecurityToken.WriteTo(XmlWriter writer)
en System.ServiceModel.Security.RequestSecurityToken.OnWriteBodyContents(XmlDictionaryWriter writer)
en System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer)
en System.ServiceModel.Channels.Message.OnWriteMessage(XmlDictionaryWriter writer)
en System.ServiceModel.Channels.BufferedMessageWriter.WriteMessage(Message message, BufferManager bufferManager, Int32 initialOffset, Int32 maxSizeQuota)
en System.ServiceModel.Channels.TextMessageEncoderFactory.TextMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)
en System.ServiceModel.Channels.HttpOutput.SerializeBufferedMessage(Message message, Boolean shouldRecycleBuffer)
en System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
en System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
--- Fin del seguimiento de la pila de la excepción interna ---

Server stack trace:
en System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
en System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
en System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
en System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
en System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
en Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
en Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
en Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Execute(OrganizationRequest request)
en Microsoft.Crm.Application.SMWrappers.ClientOrganizationServiceProxyBase.Execute(OrganizationRequest request)
en Microsoft.Crm.Outlook.ClientAuth.ClientAuthProviderBase`1.VerifyUser(IClientOrganizationContext context)
en Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.SignInInternal(IClientOrganizationContext context)
en Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.SignIn(AuthUIMode uiMode, IClientOrganizationContext context, Control parentWindow, Boolean retryOnError)
en Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizationsInternal(AuthUIMode uiMode, Control parentWindow)
en Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.DeploymentInfo`1.LoadOrganizations(AuthUIMode uiMode, Control parentWindow, IClientAuthProvider`1 authenticatedProvider)
en Microsoft.Crm.Application.Outlook.Config.DeploymentsInfo`1.InternalLoadOrganizations(DataCollection`1 orgs, AuthUIMode uiMode, Control parentWindow)
22:25:08| Info| Error connecting to URL: {0} Exception: {1}| server/.../Organization.svc, System.ServiceModel.Security.SecurityNegotiationException: Error de negociación de seguridad SOAP con 'server/.../Organization.svc' para el destino 'server/.../Organization.svc'. Consulte la excepción interna para obtener más información. ---> System.ComponentModel.Win32Exception: Error de negociación del Proveedor de compatibilidad para seguridad (SSPI).
en System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] incomingBlob, ChannelBinding channelbinding, ExtendedProtectionPolicy protectionPolicy)
en System.ServiceModel.Security.SspiNegotiationTokenProvider.GetOutgoingBlobProxy.GetOutgoingBlob(ChannelBinding channelBinding)
en System.ServiceModel.Security.RequestSecurityToken.GetBinaryNegotiation()
en System.ServiceModel.Security.WSTrust.Driver.WriteRequestSecurityToken(RequestSecurityToken rst, XmlWriter xmlWriter)
en System.ServiceModel.Security.RequestSecurityToken.OnWriteTo(XmlWriter writer)
en System.ServiceModel.Security.RequestSecurityToken.WriteTo(XmlWriter writer)
en System.ServiceModel.Security.RequestSecurityToken.OnWriteBodyContents(XmlDictionaryWriter writer)
en System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer)
en System.ServiceModel.Channels.Message.OnWriteMessage(XmlDictionaryWriter writer)
en System.ServiceModel.Channels.BufferedMessageWriter.WriteMessage(Message message, BufferManager bufferManager, Int32 initialOffset, Int32 maxSizeQuota)
en System.ServiceModel.Channels.TextMessageEncoderFactory.TextMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)
en System.ServiceModel.Channels.HttpOutput.SerializeBufferedMessage(Message message, Boolean shouldRecycleBuffer)
en System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
en System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
--- Fin del seguimiento de la pila de la excepción interna ---

Server stack trace:
en System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
en System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
en System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
en System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
en System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
en System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
en Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
en Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
en Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Execute(OrganizationRequest request)
en Microsoft.Crm.Application.SMWrappers.ClientOrganizationServiceProxyBase.Execute(OrganizationRequest request)
en Microsoft.Crm.Outlook.ClientAuth.ClientAuthProviderBase`1.VerifyUser(IClientOrganizationContext context)
en Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.SignInInternal(IClientOrganizationContext context)
en Microsoft.Crm.Outlook.ClientAuth.ClientAuthProvider`1.SignIn(AuthUIMode uiMode, IClientOrganizationContext context, Control parentWindow, Boolean retryOnError)shouldRecycleBuffer)

en System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
en System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
--- Fin del seguimiento de la pila de la excepción interna ---

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Victor Crespo Profile Picture
    on at

    Hola

    Este error puede aparecer por una falta de los certificados de Active Directory en el cliente que está utilizando.

    Le recomiendo que verifique que su cliente cuente con los certificados adecuados en su cliente.

    Gracias por usar las Comunidades de Microsoft.

    Victor Crespo

    Support Engineer | CRM Online Support

  • Community Member Profile Picture
    on at

    Hola tengo un problema muy similar pero es intermitente, es decir la mayoría de las veces funciona pero algunos servicios fallan ocasionalmente por este problema alguien sabe que puede ser?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans