Security Policy Errors

Fix AD FS Web Application Proxy Trust Relationship Errors

Algirdas JasaitisAlgirdas Jasaitis Nov 3, 2026 869 views

Question details

The user needs to fix a deployment failure where the AD FS Web Application Proxy cannot establish a trust relationship with the Federation Server.

How to Fix AD FS Web Application Proxy Trust Relationship Errors
Product
AD FS Web Application Proxy
Device & OS
not provided
Scenario
Deploying and configuring an AD FS Web Application Proxy server for external access.
Observed behavior
The deployment fails with an error indicating that a trust relationship with the Federation Server could not be established.
Before you start

Ensure you have administrative privileges on both the Web Application Proxy (WAP) and the primary AD FS servers, and verify that the firewall allows HTTPS traffic between them.

Solution 1Recommended

Verify Network Connectivity, DNS, and Time Synchronization

Ensure fundamental connectivity and system synchronization are properly configured between the WAP and AD FS servers.

A trust relationship cannot be established if the WAP server cannot communicate with the AD FS server or if their system clocks are out of sync. Network and DNS misconfigurations are the most common causes.

1
Check Firewall Port 443

Confirm that HTTPS port 443 is open and not being blocked by any internal firewalls between the WAP and AD FS servers.

2
Verify DNS Resolution

On the WAP server, ping the AD FS federation service name to ensure it correctly resolves to the internal IP address of the AD FS server, not the external IP.

3
Synchronize Server Clocks

Ensure both the WAP and AD FS servers have their system clocks synchronized to the same NTP server to prevent Kerberos or SSL token expiration errors.

Verify Network Connectivity, DNS, and Time Synchronization
Time Drift Limit: Windows requires the time difference between servers to be no more than 5 minutes for secure authentication processes to succeed.
Free Microsoft Office alternative

Simplify Your Workflow with WPS Office

While managing complex enterprise network environments requires heavy specialized servers, your daily document management shouldn't. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring smooth document creation without straining system resources.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the Software: Run the setup file and follow the on-screen prompts to complete a fast, lightweight installation.
  3. 3. Start Creating: Open WPS Office and instantly start editing your existing Microsoft Office documents without any formatting loss.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight installation with low system resource consumption.Familiar, user-friendly interface for seamless migration from Microsoft Office.Comprehensive built-in PDF viewing, editing, and conversion tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the WAP configuration wizard fail with a trust error?

This failure usually occurs when the WAP server cannot reach the AD FS server over port 443, when DNS resolution is pointing to the wrong IP, or if there is a mismatch in the SSL certificate subject names.

How do I check if my WAP and AD FS servers are time-synchronized?

You can use the 'w32tm /query /status' command in the Command Prompt on both servers to verify that they are syncing from the same time source and that their times accurately match.

Which PowerShell command enables the AD FS endpoint for proxying?

You can use the Enable-AdfsEndpoint cmdlet on the primary AD FS server to enable specific endpoints, ensuring the Proxy property is set to True for the necessary extranet services.