Remove Web Application Proxy Server From Cluster Portable ✦ Latest

Once the server is no longer recognized as part of the cluster, you should uninstall the WAP services from the physical or virtual machine. Via PowerShell powershell

Are you immediately with a clean installation? Share public link

If the removed proxy still holds an active registration token or custom configuration, locate it under the proxy management paths to revoke it.

Appendix B: Emergency Contact List for AD FS/WAP Support Appendix C: Script to Auto-Drain and Remove WAP Node (Python/PowerShell) remove web application proxy server from cluster

What (e.g., 2019, 2022) are you using? Are you using a hardware load balancer or Windows NLB ?

Set-WebApplicationProxyConfiguration -ConnectedServersName ((Get-WebApplicationProxyConfiguration).ConnectedServersName -ne 'ServerToRemove.domain.local') Use code with caution. Copied to clipboard

Are you using a or Windows Network Load Balancing (NLB)? Once the server is no longer recognized as

Remove the server's IP address from any external or internal load balancers (e.g., Azure Traffic Manager or F5).

Now, log in locally (or via iLO/iDRAC) to the WAP server being decommissioned.

simply reinstall Windows on the same hostname and rejoin it to the cluster without first removing the trust. A reused hostname with an orphaned trust will cause a “duplicate proxy” error during reconfiguration. Appendix B: Emergency Contact List for AD FS/WAP

After completing the removal, verify that the proxy has been removed and that the cluster is healthy.

1.0 Last updated: [Current Date] Author: Infrastructure Team

Run the following deployment command to remove the remote access routing service: powershell

Execute the Uninstall-WebApplicationProxy cmdlet. This command removes the WAP role configuration and severs the connection to the ADFS configuration database. powershell Uninstall-WebApplicationProxy Use code with caution.

If using the native Windows NLB feature, open PowerShell as an Administrator on any cluster node and run: powershell Stop-NlbClusterNode -NodeName "WAP-Server-To-Remove" Use code with caution.