To troubleshoot the issue with the Federation Proxy Service (Microsoft.IdentityServer.ProxyService.exe) crashing with an object disposed exception, consider the following steps:
- Check for Updates: Ensure that your Windows Server 2019 is fully updated. Sometimes, crashes can be resolved by installing the latest updates or patches.
- Review Event Logs: Since you mentioned that the only trace in the event viewer is related to the crash, check for any other related events that might provide more context or details about what led to the crash. Look under Applications and Services Logs > Microsoft > Windows > Web Application Proxy > Admin for any additional logs.
- Monitor Resource Usage: Monitor the resource usage (CPU, memory) of the server to see if there are any spikes or unusual patterns leading up to the crash. High resource usage can sometimes lead to service instability.
- Check Configuration: Review the configuration settings for the Web Application Proxy and the AD FS server to ensure everything is set up correctly. Misconfigurations can lead to unexpected behavior.
- Increase Logging: If the issue persists, consider increasing the logging level for the Federation Proxy Service to capture more detailed information about what is happening before the crash occurs.
- Test in Isolation: If possible, test the service in a controlled environment to see if you can replicate the issue without other applications or services running.
- Consult Documentation: Refer to Microsoft documentation for any known issues or troubleshooting steps specific to the version of the Federation Proxy Service you are using.
If the problem continues after these steps, you may want to reach out to Microsoft support for more in-depth assistance.
References: