Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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):

  1. 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 SERVERNAME

  2. Set the SPN for the service account: setspn -s GGLCCSvc/SERVERNAME.domain FTServiceAccount

  3. Check for duplicates with setspn -x. Query the SPNs on an account, user or computer with setspn -L.

  4. 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:

Command Prompt showing a successful setspn -s GGLCCSvc registration against the service account

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:

Command Prompt showing setspn -d deleting the GGLCCSvc SPN then re-listing to confirm removal

Reference example

FT Command Centre Service "Log On As" the domain service account — showing the machine name, domain, and service-account login

🔗 Related

Last updated

Was this helpful?