Others

Troubleshoot Web Application Proxy and NLB Connections for Office 365 SSO

Nimra MalikNimra Malik Nov 27, 2026 869 views

Question details

Resolve Web Application Proxy connection issues in an Office 365 single sign-on deployment using AD FS and Network Load Balancing.

Troubleshoot Web Application Proxy and NLB Connections for Office 365 SSO
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.
Before you start

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.

Solution 1Recommended

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.

1
Inspect the cluster

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.

2
Review network configuration

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.

3
Compare connection paths

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.

4
Check proxy and AD FS events

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.

Check the NLB cluster and Web Application Proxy connectivity
Avoid assuming DNS is the cause: DNS or certificate issues can also affect connections, but verify the failing path and event details before making configuration changes.
Free Microsoft Office alternative

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.

Use a free, lightweight suite for everyday document workOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXNavigate documents with a familiar Office-style interfaceContinue working with Office documents while investigating the SSO deployment
microsoft office alternative - wps office

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.