Today i have a customer that got an Bad Request Error 400, when he try to logon to ADFS from inside their own network, with domain connected computers. The error is only showing up in Internet Explorer, witch lead me to it might be a kerberos thing.
The service account that run the ADFS services, is “ita_service_admin”.
So looking at that account with setspn i can see witch SPN is register to ita_service_admin account.
setspn -l XXX\ita_service_admin
The where no SPN for the account. The ADFS url is: https://fs.YYY.dk so i added the following SPN to ita_service_Admin account:
Find the SPN, and delete it from the account, i find the account under Administrator, so it looks like someone have change the service account for ADFS service from Administrator to ITA_SERVICE_ADMIN account in the past, without moving the SPN.
So delete the SPN from administrator account
setspn -D HOST/FS.YYY.DK XXX\administrator
Then try to add it again to ITA_Service_Admin account.
setspn -S HOST/FS.YYY.DK XXX\ITA_SERVICE_ADMIN
Restart the ADFS service, and the ADFS is working again also from Internet Explorer.