SECURING


Creating ADFS service principal names (SPNs)

To enable Integrated Windows Authentication (IWA) on ADFS, create service principal names (SPNs) to associate ADFS with a login account. SPNs allow clients to request authentication without having login account names.

About this task

If there are already SPNs for ADFS because IWA is already enabled, skip this procedure.

This procedure assumes that you use a single ADFS server. If you use multiple ADFS servers in a federation server farm, see the Microsoft document https://technet.microsoft.com/en-us/library/dd807078.aspx.

Procedure

1. On the Active Directory domain controller, log in to the Windows domain as the Windows administrator.

2. Run the following commands to create two SPNs, a fully-qualified name and a short name:


3. Run the following command to verify that the SPNs are properly created:
Example

For example, if the domain name is us.renovations.com, the ADFS machine host name is adfs01, and the account name is admin, the following commands create the required SPNs:

setspn -s HTTP/adfs01.us.renovations.com adminsetspn -s HTTP/adfs01 admin

If you use an LDAP browser to view the Active Directory, you see the computerADFS01. The computer account name is ADFS01$ and the account record shows the new service principal names.

Parent topic: Enabling IWA (ADFS only)

Related tasks
Enabling Integrated Windows Authentication on ADFS 2.0
Enabling Integrated Windows Authentication for ADFS 3.0 or 4.0
Configure browsers for Integrated Windows Authentication