Capture IIS Network Traffic in Fiddler

I have an IIS application that is querying Azure Active Directory Graph API from the server. I wanted to capture what is requests are happening using the client API. By default Fiddler does not capture these requests. Fiddler inserts itself into the WinINET layer as a proxy which is bypassed by IIS outgoing traffic.

To capture these requests  coming from an IIS application pool. Add to your web.config after the <configSections> element:

    <defaultProxy enabled="true">
      <proxy proxyaddress="" bypassonlocal="False"/>

where 8888 is the fiddler listening port, found in Tools > Fiddler Options


This can be found in the Fiddler documentation.

Happy web traffic debugging!