Troubleshoot Active Directory single sign-on
Diagnose Active Directory Single Sign-On failures caused by missing or duplicate SPNs.
Almost every SSO fault is an SPN registration or duplication problem, diagnosed and fixed with the Windows setspn command.
In the examples, FTServiceAccount is the account the FT Command Centre Service runs under, and SERVERNAME.domain is the machine name and domain.
Move the SPN to the service account by hand
Use these steps when the FT Command Centre Service "Log on as" account is changed from Local System account to This account. GGLCCSvc must then be registered against the service account and removed from the Computer account (see How the SPN works).
These steps were written for 7.01 and above and older operating systems, but should still be relevant.
Once SSO is enabled, the SPN registration tries to register the SPN under the Command Centre service account instead of the system account. In most cases that will not work, because standard accounts lack the privilege. If the service runs as an account with the privilege (for example a domain admin), it should be able to register it.
To add the SPN manually, where GGLCCSvc is the service (SERVERNAME.domain and FTServiceAccount are the example names above):
Delete the SPN from the machine name. The general form is
setspn -d service/machinename machinename(service=GGLCCSvc, machinename=Hostname). For example:setspn -d GGLCCSvc/SERVERNAME.domain SERVERNAMESet the SPN for the service account:
setspn -s GGLCCSvc/SERVERNAME.domain FTServiceAccountCheck for duplicates with
setspn -x. Query the SPNs on an account, user or computer withsetspn -L.Reboot and try to log on with single sign-on.
If you prefer not to use the command line, do it on the Domain Controller: run adsiedit.msc, connect to the DC, browse to the Computer or User object, right-click the account, select Properties, scroll to servicePrincipalName and edit it there.
1. List the SPNs on the service account
setspn -L FTServiceAccount. If nothing is registered, the result is empty:
c:\Windows\system32>setspn -L FTServiceAccount
Registered ServicePrincipalNames for CN=<FTServiceAccount>,CN=Users,DC=<domain>,DC=local:2. Register the SPN
Needs privileges, usually domain admin:
Alternative if using Local System / Network Service: setspn -s GGLCCSvc/SERVERNAME.domain Hostname. On success:

3. Check for duplicates
setspn -x. Ignore duplicates unless they involve GGLCCSvc.
4. Delete an incorrect or duplicate SPN
setspn -d GGLCCSvc/ComputerName Account_or_ComputerName, then re-list to confirm and reboot:

Reference example

🔗 Related
Single Sign-On - Common Fault and Scenarios. Error codes and logon-name mismatches.
Single Sign-On - Setting Up. How the SPN is registered.
Last updated
Was this helpful?
