Troubleshoot Web Application Proxy and NLB Connections for Office 365 SSO
Question details
Resolve Web Application Proxy connection issues in an Office 365 single sign-on deployment using AD FS and Network Load Balancing.

- Product
- Office 365, AD FS 3.0, and Web Application Proxy
- Device & OS
- Windows Server 2012 R2
- Scenario
- Deploying Office 365 single sign-on with on-premises AD FS, Web Application Proxy, and an NLB cluster.
- Observed behavior
- Web Application Proxy connections are failing, while AD FS appears to be working.
Identify the AD FS and Web Application Proxy servers, the NLB cluster address, and the federation service name. Record the connection error and whether it occurs through the cluster address, a specific proxy server, or both.
Check the NLB cluster and Web Application Proxy connectivity
Use these checks to isolate a possible NLB configuration or network connectivity issue.
The reported symptoms suggest NLB may be involved, but they do not establish a root cause. Compare connectivity through the cluster with connectivity to individual proxy hosts before changing DNS or Office 365 settings.
On an NLB management server, open Network Load Balancing Manager and check the cluster IP address, host status, and port rules. Confirm that the rules cover the HTTPS traffic intended for the proxy servers.
In Network Load Balancing Manager, review the cluster operation mode and host settings. Ask the network team to verify that the switches and virtual network support the configured unicast or multicast mode.
From a suitable client, test connectivity to the NLB address and to each proxy host on TCP port 443. Compare the results to see whether the problem is limited to the cluster path or affects an individual host.
On the affected servers, open Event Viewer and review the AD FS and Web Application Proxy logs around the time of the failed connection. Check that the proxy can reach the federation service over HTTPS and note any certificate or trust errors.

Ask Windows Server Directory Services specialists for help
Use this option if the NLB and proxy checks do not identify the cause.
Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility to help you move existing documents into your workflow. It does not repair AD FS, Web Application Proxy, or NLB connections.

Frequently Asked Questions
Is this necessarily an Office 365 service issue?
No. The failing components may be part of the on-premises Windows Server deployment. Check NLB, Web Application Proxy, and AD FS connectivity before attributing the issue to Office 365.
How can I tell whether NLB is involved?
Compare TCP port 443 connectivity through the NLB cluster address with connectivity to each proxy host. A difference between the cluster and individual host results can help narrow down the failing path.
Where can I find Web Application Proxy errors?
Open Event Viewer on the proxy server and review the Web Application Proxy logs around the failure time. Also check AD FS logs on the federation server for related errors.
Which specialists should I contact if the checks do not resolve the issue?
Ask in a Windows Server Directory Services forum or community with AD FS and NLB expertise. Include the cluster configuration, connection test results, and relevant event errors without exposing sensitive information.




