I have a working Python script which sends a request to an web service using Windows Authentication in order to get a token. The bit that I’m trying to replicate is: I have an ASP.NET Core service which tries to do it this way: Right now I am getting the following error: WinHttpException: Error 12029 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, ‘A connection with