Abserver -syncNow fails

I ran into an issue in my lab where I was unable to run abserver -regenur manually using administrative command-prompt and it kept giving me the following error:

 

"Triggering UR regenerate - function not available when RTCSRV service is not running. Start the RTCSRV service."

 I kept getting the above error even though  the OCS service (RTCSRV) was running!

 

  

This issue is caused due to missing SPNs in Active Directory which is used by the UR for authentication. To fix the issue we need to add a ServicePrincipalName to the Front-End server account in AD:

RestrictedKrbHost/PoolFQDN

 This can be done through ADSIEdit or through the command line setspn utility.

setspn -a RestrictedKrbHost/PoolFQDN <FEServerName>

 

 Once that is done, you should be able to run the command successfully: