All, I am pulling my hair out trying to resolve this issue. Whenever I run setspn.exe regardless of preceding switch it fails with error
setspn -d http/service.domain domain\serviceaccount
FindDomainForAccount: Call to DsGetDcNameWithAccountW failed with return value 0x00000525
Unable to locate account serviceaccount
I have read through a lot of stuff and most of it related to SQL SPN which allows the option to self register. I am registering a http service. I tried setting SPN AD attribute editor ADM but not sure if that's the right way to do it.
Any help or idea would be greatly appreciated.