If HAProxy is the proxy rather than the load balancer:
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
Complete the wizard and check the box to . 5. Step 4: Post-Removal Verification
: Restart the server to complete the uninstallation. remove web application proxy server from cluster
Ensure the removal did not negatively impact the surviving nodes. Open on a remaining WAP node. Open the Remote Access Management console.
: If the server holds unique machine certificates, revoke them or let them expire naturally.
If you plan to repurpose or completely decommission the virtual or physical machine, uninstall the Remote Access server role entirely. Method A: Via PowerShell (Recommended) If HAProxy is the proxy rather than the
Get-EventLog -LogName "AD FS/Admin" -EntryType Error | Select-Object -First 20
Check the remaining nodes:
%windir%\system32\inetsrv\appcmd.exe list config /section:webFarms > C:\Backup\webfarm.txt Ensure the removal did not negatively impact the
In the center pane, you will see a list of the servers currently participating in the cluster. Remove the Server: Right-click the name of the server you wish to remove. Select Remove .
Ensure you have backups of your public SSL certificates and private keys if you plan to reuse them on another server.
Removing a Web Application Proxy Server from a Cluster: A Comprehensive Guide