IIS 7 and Above
SSO with ADFS 401.2 issues
Last post Jan 14, 2019 06:55 AM by DevPreSupport_MSFT
Jan 07, 2019 10:17 PMfirstname.lastname@example.org|LINK
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.
Jan 14, 2019 06:55 AM|DevPreSupport_MSFT|LINK
It is better if you could provide below scenarios' FRED log files:
Please also use fiddler to capture above scenarios' traffic log.