Set-WebApplicationProxyConfiguration –ConnectedServersName ((Get-WebApplicationProxyConfiguration).ConnectedServersName –ne '://domain.com') Use code with caution. Copied to clipboard 2. Uninstall the WAP Role
: If the server name persists in the Remote Access Management console after uninstalling the role, it is because the "primary" node still has it in its configuration list. Re-running the Set-WebApplicationProxyConfiguration command from a healthy node usually fixes this. remove web application proxy server from cluster
Note: You will be prompted to confirm the removal. Type 'Y' to proceed. remove web application proxy server from cluster
Get-EventLog -LogName "AD FS/Admin" -EntryType Error | Select-Object -First 20 remove web application proxy server from cluster