Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

WCF failures occur when Dynamics 365 clients communicate through a Load Balancer


View products that this article applies to.

Symptoms

When Dynamics 365 web servers are configured behind a load balancer, exceptions may occur from WCF-based clients such as the Outlook Client, Email Router, or SDK applications when communicating over web services. Examples of these exceptions may include:

"An unsecured or incorrectly secured fault was received from the other party"

"SecurityContextException"

↑ Back to the top


Cause

The issue occurs due to missing or incorrectly configured persistence settings on the load balancer, which can cause WCF failures when the web server attempts to read a token that was issued by a different web server.

↑ Back to the top


Resolution

Dynamics 365 requires IP based persistence to be configured on the load balancer.

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2981140
Revision : 11
Created on : 3/21/2017
Published on : 3/21/2017
Exists online : False
Views : 309