To remove a Web Application Proxy (WAP) server from a cluster, you can use PowerShell to update the connected servers list or uninstall the feature from the specific node. Method 1: Remove via PowerShell (Recommended)
This returns the fully qualified domain names (FQDNs) of all servers currently recognized as part of the WAP cluster. 2. Logical Removal from the Cluster remove web application proxy server from cluster
Impact: No service interruption occurred during the maintenance window. The remaining nodes in the cluster continue to handle authentication traffic within the defined capacity thresholds. To remove a Web Application Proxy (WAP) server
# HAProxy example - disable server in backend
echo "disable server <backend_name>/<node_name>" | socat stdio /var/lib/haproxy/stats
PowerShell: Use Remove-WebApplicationProxyApplication to drop current connections and remove configurations. Microsoft Docs: Managing Web Application Proxy Servers AD
On each remaining WAP server:
# Check trust status with AD FS
Get-WebApplicationProxyConfiguration
2. Remove from Network Load Balancer (NLB)Before making hardware or software changes, you must stop traffic from reaching the node.
Further Reading & Resources
- Microsoft Docs: Managing Web Application Proxy Servers
- AD FS Troubleshooting: AD FS 2.0 Operations Guide
- Load Balancer Best Practices for WAP: Designing a Highly Available AD FS Architecture