Skip to content

Commit 7d8891d

Browse files
committed
fix: Fix register a service principal name for kerberos connections
1 parent 96dac12 commit 7d8891d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/database-engine/configure-windows/register-a-service-principal-name-for-kerberos-connections.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: Register a Service Principal Name for Kerberos Connections
33
description: "Find out how to register a Service Principal Name (SPN) with Active Directory. This registration is required for using Kerberos authentication with SQL Server."
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 08/26/2025
6+
ms.date: 01/22/2026
7+
ai-usage: ai-assisted
78
ms.service: sql
89
ms.subservice: configuration
910
ms.topic: how-to
@@ -100,9 +101,9 @@ For a TCP/IP connection, where the TCP port is included in the SPN, [!INCLUDE [s
100101

101102
When an instance of the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)] starts, [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] tries to register the SPN for the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] service. When the instance is stopped, [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] tries to unregister the SPN. For a TCP/IP connection, the SPN is registered in the format `MSSQLSvc/<FQDN>:<tcpport>`. Both named instances and the default instance are registered as `MSSQLSvc`, relying on the `<tcpport>` value to differentiate the instances.
102103

103-
For other connections that support Kerberos the SPN is registered in the format `MSSQLSvc/<FQDN>:<instancename>` for a named instance. The format for registering the default instance is `MSSQLSvc/<FQDN>`.
104+
For other connections that support Kerberos, the SPN is registered in the format `MSSQLSvc/<FQDN>:<instancename>` for a named instance. The format for registering the default instance is `MSSQLSvc/<FQDN>`.
104105

105-
To give permissions to the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] startup account, to register and modify the SPN, perform the following steps:
106+
To give permissions to the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] startup account to register and modify the SPN, perform the following steps:
106107

107108
1. On the Domain Controller machine, navigate to **Active Directory Users and Computers**.
108109

@@ -118,7 +119,7 @@ To give permissions to the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion
118119

119120
1. Under Permissions select **Validated Write servicePrincipalName**.
120121

121-
1. Scroll down and under **Properties** select:
122+
1. Scroll down and under **Properties**, select:
122123

123124
- **Read servicePrincipalName**
124125
- **Write servicePrincipalName**
@@ -200,7 +201,7 @@ The following table describes the authentication defaults that are used, based o
200201
201202
## Remarks
202203

203-
The Dedicated Administrator Connection (DAC) uses an instance name-based SPN. Kerberos authentication can be used with a DAC if that SPN is registered successfully. As an alternative a user can specify the account name as an SPN.
204+
The Dedicated Administrator Connection (DAC) uses an instance name-based SPN. Kerberos authentication can be used with a DAC if that SPN is registered successfully. As an alternative, you can specify the account name as an SPN.
204205

205206
If SPN registration fails during startup, this failure is recorded in the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] error log, and startup continues.
206207

0 commit comments

Comments
 (0)