The issue is specific to Internet Explorer. The favicon works fine in chrome. I have an angular application which is running alongside the legacy application. When I navigate to the angular application from legacy application the favicon appears as expected in the internet explorer, but when I navigate within the angular application the favicon disappears.
<link rel="icon" type="image/x-icon" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a" />
<link rel="shortcut icon" type="image/x-icon" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a" />
I have tried full path, relative path, as well as CDN but nothing seems to be working.