: Remove the decommissioned server's IP address from any external or internal Load Balancer pools DNS Records : Delete any DNS A or AAAA records that point to the removed server. Certificates : If the server is being permanently decommissioned, delete the SSL certificates from its local store to ensure security. Microsoft Learn Are you removing a server to replace it with a newer version , or are you shrinking the cluster permanently?
To remove a Web Application Proxy (WAP) server from a cluster, you must update the cluster's configuration to exclude the target node and then decommission the server's roles. 1. Update the Cluster Configuration Run these commands from a
Letting a server finish its current sessions (draining) before removing it completely provides a better user experience.
Completely delete the node from your hardware load balancer pools. remove web application proxy server from cluster
I can provide specific PowerShell scripts or advanced configuration commands based on your setup. Share public link
Before touching the WAP server itself, take it out of the load balancer rotation:
Disjoin the server from the corporate domain (if it was domain-joined) and delete its computer object from Active Directory. Reclaim the virtual machine or physical hardware resource. 4. Troubleshooting Common Issues Issue: "The operation cannot be performed because..." Error : Remove the decommissioned server's IP address from
: Update your hardware load balancer or DNS round-robin configuration. Stop directing client traffic to the target node.
To ensure the cluster continues to function smoothly without the removed node: WAP – How to remove a WAP Server from WAP clusters
: Update perimeter firewall rules to block traffic to and from the deleted server's IP address. To remove a Web Application Proxy (WAP) server
Test access to internal applications from outside the network to ensure the load balancer is correctly routing traffic to the remaining nodes.
: Use the following PowerShell command to remove the WAP feature and its associated management tools: powershell
By the end of this article, you will understand the prerequisites, the dismantling process, and the post-removal validation steps required to keep your cluster healthy.
Use Remove-AdfsWebApplicationProxyRelyingPartyTrust to delete the trust object entirely if the proxy is no longer needed. Remove-WebApplicationProxyApplication - Microsoft Learn