Remove Web Application Proxy Server From — Cluster

: After removing it from the cluster configuration, use Server Manager or the following PowerShell command to remove the role: Remove-WindowsFeature Web-Application-Proxy, RSAT-RemoteAccess . Troubleshooting "Ghost" Servers WAP – How to remove a WAP Server from WAP clusters

If your WAP cluster sits behind a load balancer (NLB, Azure LB, F5, etc.), remove the node from the backend pool at this stage. remove web application proxy server from cluster

: Remove the target server from the back-end pool of your hardware load balancer or Azure Traffic Manager . : After removing it from the cluster configuration,

# Stop the service if still running Stop-Service WapSvc -Force -ErrorAction SilentlyContinue # Stop the service if still running Stop-Service

After the software configuration is removed, perform these final infrastructure steps:

# Force a full sync from AD FS Sync-WebApplicationProxyConfiguration

Once this process completes, the server will disappear from the list of nodes in the console. It is now logically detached from the cluster configuration.