AADFS error FATAL: Remote server exception during UpdateHosts request

Learn how to troubleshoot when encountering this AADFS issue

In some cases, the AADFS user synchronization service is not able to synchronize users in AskCody due to an error like this one:

FATAL: Remote server exception during UpdateHosts request: 
The remote server returned an error: (500) Internal Server Error.
System.Net.WebException: The remote server returned an error:
(500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse()
at AskCody.ActiveDirectory.ForwardingService.Program.ProcessRequest
(String type, Uri uri, Object data)

How to solve it

Please contact AskCody support and provide a copy of the service.log file located in the AADFS installation folder.