Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

After 365 Update An unsecured or incorrectly secured fault was received from the other party.

Posted on by Microsoft Employee

Hi Guys,

Last weekend our CRM online received the 365 update. Since that moment one of my external tools isn't able to pull data. I can't make any sense out of the log file, hopefully you can tell me if something has changed structurally or how to solve it.

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 System.ServiceModel.Security.IWSTrustContract.Issue(Message message)
   at System.ServiceModel.Security.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Issue(AuthenticationCredentials authenticationCredentials)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateInternal(AuthenticationCredentials authenticationCredentials)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateWithOrgIdForACS(AuthenticationCredentials authenticationCredentials, Uri identifier)
   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.ServiceConfiguration`1.Authenticate(ClientCredentials clientCredentials)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration.Authenticate(ClientCredentials clientCredentials)
   at Microsoft.Xrm.Client.Services.OrganizationService.CreateUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config)
   at Microsoft.Xrm.Client.Services.OrganizationService.GetUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config)
   at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationServiceProxy(CrmConnection connection)
   at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationService(CrmConnection connection)
   at Microsoft.Xrm.Client.Services.OrganizationService.<>c__DisplayClass2.<.ctor>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Microsoft.Xrm.Client.Services.OrganizationService.InnerOrganizationService.UsingService[TResult](Func`2 action)
   at Microsoft.Xrm.Client.Services.OrganizationService.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.InnerExecute(OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.<>c__DisplayClass4`3.<LookupAndInsert>b__2(ObjectCache cache)
   at Microsoft.Xrm.Client.Caching.ObjectCacheProvider.<>c__DisplayClass6`1.<Get>b__5(String key)
   at Microsoft.Xrm.Client.Threading.LockProvider.<>c__DisplayClass5`1.<Get>b__3()
   at Microsoft.Xrm.Client.Threading.MutexLockProvider.<>c__DisplayClass1.<Lock>b__0(Mutex _)
   at Microsoft.Xrm.Client.Threading.MutexExtensions.Lock(String key, Int32 millisecondsTimeout, Action`1 action)
   at Microsoft.Xrm.Client.Threading.MutexLockProvider.Lock(String key, Int32 millisecondsTimeout, Action action)
   at Microsoft.Xrm.Client.Threading.LockProvider.Get[T](String key, Int32 millisecondsTimeout, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Threading.LockProvider.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Threading.LockManager.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Caching.ObjectCacheProvider.Get[T](ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName)
   at Microsoft.Xrm.Client.Caching.ObjectCacheManager.Get[T](ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.LookupAndInsert[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.Get[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.Execute[T](OrganizationRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`5 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.RetrieveEntityCollection(OrganizationRequest request, NavigationSource source)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups, String& pagingCookie, Boolean& moreRecords)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](Expression expression)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.GetEnumerator[TElement](Expression expression)
   at Microsoft.Xrm.Sdk.Linq.Query`1.GetEnumerator()
   at CRMSyncTool.Program.Main(String[] args)
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 System.ServiceModel.Security.IWSTrustContract.Issue(Message message)
   at System.ServiceModel.Security.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Issue(AuthenticationCredentials authenticationCredentials)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateInternal(AuthenticationCredentials authenticationCredentials)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateWithOrgIdForACS(AuthenticationCredentials authenticationCredentials, Uri identifier)
   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.ServiceConfiguration`1.Authenticate(ClientCredentials clientCredentials)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration.Authenticate(ClientCredentials clientCredentials)
   at Microsoft.Xrm.Client.Services.OrganizationService.CreateUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config)
   at Microsoft.Xrm.Client.Services.OrganizationService.GetUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config)
   at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationServiceProxy(CrmConnection connection)
   at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationService(CrmConnection connection)
   at Microsoft.Xrm.Client.Services.OrganizationService.<>c__DisplayClass2.<.ctor>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Microsoft.Xrm.Client.Services.OrganizationService.InnerOrganizationService.UsingService[TResult](Func`2 action)
   at Microsoft.Xrm.Client.Services.OrganizationService.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.InnerExecute(OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.<>c__DisplayClass4`3.<LookupAndInsert>b__2(ObjectCache cache)
   at Microsoft.Xrm.Client.Caching.ObjectCacheProvider.<>c__DisplayClass6`1.<Get>b__5(String key)
   at Microsoft.Xrm.Client.Threading.LockProvider.<>c__DisplayClass5`1.<Get>b__3()
   at Microsoft.Xrm.Client.Threading.MutexLockProvider.<>c__DisplayClass1.<Lock>b__0(Mutex _)
   at Microsoft.Xrm.Client.Threading.MutexExtensions.Lock(String key, Int32 millisecondsTimeout, Action`1 action)
   at Microsoft.Xrm.Client.Threading.MutexLockProvider.Lock(String key, Int32 millisecondsTimeout, Action action)
   at Microsoft.Xrm.Client.Threading.LockProvider.Get[T](String key, Int32 millisecondsTimeout, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Threading.LockProvider.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Threading.LockManager.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Caching.ObjectCacheProvider.Get[T](ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName)
   at Microsoft.Xrm.Client.Caching.ObjectCacheManager.Get[T](ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.LookupAndInsert[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.Get[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.Execute[T](OrganizationRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`5 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.RetrieveEntityCollection(OrganizationRequest request, NavigationSource source)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups, String& pagingCookie, Boolean& moreRecords)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](Expression expression)
   at Microsoft.Xrm.Sdk.Linq.QueryProvider.GetEnumerator[TElement](Expression expression)
   at Microsoft.Xrm.Sdk.Linq.Query`1.GetEnumerator()
   at CRMSyncTool.Program.Main(String[] args)
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 System.ServiceModel.Security.IWSTrustContract.Issue(Message message)
   at System.ServiceModel.Security.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Issue(AuthenticationCredentials authenticationCredentials)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateInternal(AuthenticationCredentials authenticationCredentials)
   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateWithOrgIdForACS(AuthenticationCredentials authenticationCredentials, Uri identifier)
   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.ServiceConfiguration`1.Authenticate(ClientCredentials clientCredentials)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration.Authenticate(ClientCredentials clientCredentials)
   at Microsoft.Xrm.Client.Services.OrganizationService.CreateUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config)
   at Microsoft.Xrm.Client.Services.OrganizationService.GetUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config)
   at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationServiceProxy(CrmConnection connection)
   at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationService(CrmConnection connection)
   at Microsoft.Xrm.Client.Services.OrganizationService.<>c__DisplayClass2.<.ctor>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Microsoft.Xrm.Client.Services.OrganizationService.InnerOrganizationService.UsingService[TResult](Func`2 action)
   at Microsoft.Xrm.Client.Services.OrganizationService.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.InnerExecute(OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.<>c__DisplayClass4`3.<LookupAndInsert>b__2(ObjectCache cache)
   at Microsoft.Xrm.Client.Caching.ObjectCacheProvider.<>c__DisplayClass6`1.<Get>b__5(String key)
   at Microsoft.Xrm.Client.Threading.LockProvider.<>c__DisplayClass5`1.<Get>b__3()
   at Microsoft.Xrm.Client.Threading.MutexLockProvider.<>c__DisplayClass1.<Lock>b__0(Mutex _)
   at Microsoft.Xrm.Client.Threading.MutexExtensions.Lock(String key, Int32 millisecondsTimeout, Action`1 action)
   at Microsoft.Xrm.Client.Threading.MutexLockProvider.Lock(String key, Int32 millisecondsTimeout, Action action)
   at Microsoft.Xrm.Client.Threading.LockProvider.Get[T](String key, Int32 millisecondsTimeout, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Threading.LockProvider.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Threading.LockManager.Get[T](String key, Func`2 loadFromCache, Func`2 loadFromService)
   at Microsoft.Xrm.Client.Caching.ObjectCacheProvider.Get[T](ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName)
   at Microsoft.Xrm.Client.Caching.ObjectCacheManager.Get[T](ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.LookupAndInsert[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.Get[TRequest,TResponse,TResult](TRequest query, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.InnerExecute[TRequest,TResponse,TResult](TRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.OrganizationServiceCache.Execute[T](OrganizationRequest request, Func`2 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`5 execute, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request, Func`2 selector, String selectorCacheKey)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.Execute[T](OrganizationRequest request)
   at Microsoft.Xrm.Client.Services.CachedOrganizationService.RetrieveMultiple(QueryBase query)
   at Microsoft.Xrm.Client.CrmOrganizationServiceContext.RetrieveMultiple(QueryBase query)
   at CRMSyncTool.Program.Main(String[] args)


*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: After 365 Update An unsecured or incorrectly secured fault was received from the other party.

    Hello

    Tenfold just recently added MS office to their integrations list. Tenfold offers features such as click to dial, automatic call logging, easy note taking and task creation, screen pops on inbound and outbound calls, new lead/contact creation when no matching records, support for cases/opportunities and advanced analytics on the backend. They support MS Dynamics integration

    www.tenfold.com/.../microsoft-office-365

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans