Hi,
In order to access a WebAPI using windows authentication, you have to create a HttpClientHandler and set the credentials in it. Then, this HttpClientHandler object has to be passed to the HttpClient.
Please refer my technical tip on this for detailed explanation.
Authenticate WebAPIs with Basic and Windows Authentication[
^]
Hope this helps. Happy learning!!