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.

OAuth authentication fails in a proxy scenario between Exchange Server 2013 hybrid on-premises and Office 365


View products that this article applies to.

Symptoms

When you set up OAuth authentication between an Exchange Server 2013 hybrid on-premises installation and Office 365, OAuth authentication may fail in a proxy scenario.

If the on-premises Exchange organization can successfully connect to Exchange Online, you may receive the following error:
System.Net.WebException: Unable to connect to the remote
server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond IP_Address:443
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)

If the direction from Exchange Online organization to the on-premises Exchange organization is successful, the Free/Busy information works only from a cloud user to an Exchange on-premises user.

↑ Back to the top


Cause

This issue occurs because OAuth authentication does not honor InternetWebProxy. This causes an OAuth token retrieval failure.

↑ Back to the top


Resolution

To fix this issue, install Cumulative Update 12 for Exchange Server 2013 or a later cumulative update for Exchange Server 2013.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbnotautohotfix, kbfix, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 3137585
Revision : 1
Created on : 1/7/2017
Published on : 3/15/2016
Exists online : False
Views : 275