The purpose of this wiki is to provide guidance on how to add the ServicePrinicpleNames (SPNs) required for a Forefront Identity Manager (FIM) solution. If you do not have these setup properly then you will experience issues with the FIM Portal.
setspn -S FIMService/<alias> <Domain Name>\<FIM Service Account Name>
( e.g. setspn -s FIMService/myfimservicemachine DOMAINA\svcFimService )
(*NOTE: Remember, the FIM Service Account needs to be a domain name.)
If you are using several different names - for instance, fully qualified domain names (FQDN) and NETBIOS names - to contact the server, repeat Step 2 for every name.
If the address that the clients use to contact the FIM Portal is not the same as the server address, you have to establish an SPN for HTTP. That is, if you use a CNAME resource record in DNS, have a SharePoint farm, or use NLB, this address must be registered or Internet Explorer cannot use the Kerberos protocol when it contacts the portal. Run the following command:
setspn -S HTTP/<FIMPortalAlias> <Domain Name>\<SharePoint Service Account>
( e.g. setspn -s HTTP/myfimportalmachine DOMAINA\svcSharePointService )
*NOTE: If the account running the SharePoint - 80 Application Pool account is Network Service, then the SharePoint Service Account should be the computer account that SharePoint Services 3.0 and the FIM Portal are running.
Here, our goal is to validate that the SPNs entered for the FIM Solution have been entered correctly. We will be utilizing the SETSPN.EXE utility to be able to view this information.
On a domain controller where the FIM Solution is installed, open an administrative command-prompt by right clicking on command prompt and selecting Run As Administrator
setspn -l <domain name>\<FIM Service Account Name> and press the ENTER key
setspn -l <domain name>\<FIM Service Account Name>
( e.g. setspn -l DOMAINA\myfimserviceaccount )
setspn -l <domain name>\<SharePoint Service Account> and press the ENTER key
setspn -l <domain name>\<SharePoint Service Account>
( e.g. setspn -l DOMAINA\mysharepointserviceaccount )
Here, our goal is to validate that we do not have a duplicate SPN concerning the SPNs entered for the FIM Solution. We will be utilizing the SETSPN.EXE utility ( view the Parameters section ) to be able to view this information.
setspn -x and then press the ENTER key