Remove Web Application Proxy Server From Cluster __link__ -
View registered proxy configurations to find the ID or name of the removed server: powershell Get-AdfsProxyProperties Use code with caution.
Event ID 374, 381 Cause: A load balancer or DNS still points to the removed WAP IP. Fix: Remove A/PTR records from DNS. Flush ARP cache on the load balancer. Use netsh int ipv4 show neighbors to verify ARP entries.
If the server is still running and accessible, follow these steps to cleanly uninstall the role: Remove Published Applications : Open the Remote Access Management Console and remove any web applications assigned to this server. Uninstall Features remove web application proxy server from cluster
Log in to the server designated for removal and verify its hostname and current operational status.
| Issue | Solution | |-------|----------| | “Proxy trust cannot be removed because the server is still reachable” | Ensure the WAP server is offline or firewalled from AD FS. Then use Remove-ADFSWebApplicationProxy -Force . | | Event 250: “WAP server failed to unregister” | Manually delete the service connection point in AD using ADSI Edit (CN=Web Application Proxy, CN=Service Connection Point). | | Load balancer still sends traffic | Double-check load balancer configuration and clear any connection persistence/cookies. | View registered proxy configurations to find the ID
Locate the WAP server in question and set its state to or "Drain" (if you want to finish existing sessions) or "Remove" (for immediate disconnection).
Ensure that all published applications remain visible and accessible from an external network connection. To help tailor any further troubleshooting, let me know: Flush ARP cache on the load balancer
To ensure your environment remains optimized, consider looking into your load balancer's persistent connection settings. If you want to modify your remaining infrastructure, please specify if you use or a hardware load balancer , or share your Windows Server version . Share public link
Remove-ADFSWebApplicationProxy -Name "WAP-Server-01"
Uninstall-WindowsFeature -Name Web-Application-Proxy
For three years, WAP-03 had been the silent sentry. It stood at the outer gates of the company’s digital kingdom, a Web Application Proxy server, part of a three-node cluster. Its job was thankless but vital. It took the chaotic, messy traffic from the internet, asked politely, "Who goes there?" (via Active Directory Federation Services, of course), and then quietly ushered authenticated users into the shiny citadel of internal applications.