We recently migrated a couple of our MVC apps to SSO using ADFS with basically the following approach: https://www.cloudriven.fi/en/cloud-9-en/how-to-implement-sso-for-asp-net-mvc-application-with-adfs/ I've noticed sometimes when the browser attempts to access a static file, I get a 401.2 error and the app reverts to NTLM negotiation. This is okay on our network as the users are logged in and it only seems to happen with a handful of files, however for remote access, this seems to happen for all files and users have to enter their credentials, sometimes several times. We have another application on another server configured the exact same way with no problems. Has anyone come across this behavior?
Here is the trace: https://1drv.ms/u/s!AquuuuC3yZ55hkLix_TCaVVblSL8
And the xsl file if anyone needs it: https://1drv.ms/u/s!AquuuuC3yZ55hkNbh3qHdRijQXGy
I have this same configuration running on IIS6 with no problems. This problem is only occurring on IIS7. I also noticed a really odd behavior where if I grant read access to everyone for a folder where I am getting 401 errors, then I'll get 401.2 errors for files in another folder that previously had no issue.