.png)
Open Server Manager and click > Remove Roles and Features . Select the target server and uncheck Remote Access .
In the sub-features, ensure is selected for removal. Complete the wizard and restart the server if prompted. 3. Cleaning Up AD FS Relying Party Trusts
If you are completely dismantling the WAP infrastructure rather than just removing one node, you may need to remove the proxy trust on the AD FS side. Remove-AdfsWebApplicationProxyRelyingPartyTrust . remove web application proxy server from cluster
Best practice for security if the server is permanently retired. WAP – How to remove a WAP Server from WAP clusters
Once the node is removed from the cluster's configuration, you must officially uninstall the role from the server itself to clean up local binaries and services. Open Server Manager and click > Remove Roles and Features
Set-WebApplicationProxyConfiguration –ConnectedServersName ((Get-WebApplicationProxyConfiguration).ConnectedServersName -ne '://domain.com') Use code with caution.
Use the following command to filter out the decommissioned server (replace 'ServerToRemove' with the FQDN of the node you are removing): powershell Complete the wizard and restart the server if prompted
Managing a high-availability environment often requires scaling back or replacing aging infrastructure. When you need to , simply turning off the machine isn't enough; the configuration will still exist in the AD FS database, leading to management errors and synchronization issues.