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.

Test-OAuthConnectivity always fails when Exchange Server uses proxy to connect to Internet in Exchange Server 2019 and 2016


View products that this article applies to.

Symptoms

In Microsoft Exchange Server 2019 or Exchange Server 2016, assume that you set a web proxy server that the Exchange Server uses to reach the Internet by using the InternetWebProxy parameter and there's no direct access to the Internet. You may experience that the OAuth connectivity always fails if you test it by using the Test-OAuthConnectivity cmdlet even if the connectivity is working fine. 

↑ Back to the top


Cause

This issue occurs because the Test-OAuthConnectivity cmdlet does not honor the InternetWebProxy settings set on the Exchange Server. Therefore, if the Exchange Server is blocked to connect to the Internet directly, you won't correctly test the OAuth connectivity.

↑ 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


Resolution

To fix this issue, install one of the following updates:
For Exchange Server 2019, install the Cumulative Update 1 for Exchange Server 2019 or a later cumulative update for Exchange Server 2019.
For Exchange Server 2016, install the Cumulative Update 12 for Exchange Server 2016 or a later cumulative update for Exchange Server 2016.

↑ Back to the top


References

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

↑ Back to the top


Keywords: kbHotfixAuto, CI97297, kb, kbfix, kbqfe, test-oauthconnectivity doesn't honor internetwebproxy, Test-OAuthConnectivity not working

↑ Back to the top

Article Info
Article ID : 4488267
Revision : 8
Created on : 2/12/2019
Published on : 2/12/2019
Exists online : False
Views : 300