Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 4.09 KB

File metadata and controls

52 lines (34 loc) · 4.09 KB
title How Windows Authentication for Azure SQL Managed Instance Is Implemented with Microsoft Entra ID and Kerberos
titleSuffix Azure SQL Managed Instance
description Learn how Windows Authentication for Azure SQL Managed Instance is implemented with Microsoft Entra ID and Kerberos.
author sravanisaluru
ms.author srsaluru
ms.reviewer mathoma, bonova, urmilano, wiassaf
ms.date 08/26/2025
ms.service azure-sql-managed-instance
ms.subservice deployment-configuration
ms.topic concept-article
ms.update-cycle 365-days

How Windows Authentication for Azure SQL Managed Instance is implemented with Microsoft Entra ID and Kerberos

Windows Authentication for Azure SQL Managed Instance principals in Microsoft Entra ID (formerly Azure Active Directory) enables customers to move existing services to the cloud while maintaining a seamless user experience. It provides the basis for security infrastructure modernization. To enable Windows Authentication for Microsoft Entra principals, you'll turn your Microsoft Entra tenant into an independent Kerberos realm and create an incoming trust in the customer domain.

This configuration allows users in the customer domain to access resources in your Microsoft Entra tenant. It won't allow users in the Microsoft Entra tenant to access resources in the customer domain.

The following diagram gives an overview of how Windows Authentication is implemented for a SQL managed instance using Microsoft Entra ID and Kerberos:

:::image type="complex" source="media/winauth-azuread/kerberos-authentication.png" alt-text="An overview of authentication: a client submits an encrypted Kerberos ticket as part of an authentication request to a SQL managed instance. The SQL managed instance submits the encrypted Kerberos ticket to Microsoft Entra ID, which exchanges it for a Microsoft Entra token that is returned as the SQL managed instance. The SQL managed instance uses this token to authenticate the user.":::

[!INCLUDE entra-id]

How Microsoft Entra ID provides Kerberos authentication

To create an independent Kerberos realm for a Microsoft Entra tenant, customers install the Azure AD Hybrid Authentication Management PowerShell module on any Windows server and run a cmdlet to create a Microsoft Entra Kerberos object in their cloud and Active Directory. Trust created in this way enables existing Windows clients to access Microsoft Entra ID with Kerberos.

Windows 10 21H1 clients and above have been enlightened for interactive mode and don't need configuration for interactive login flows to work. Clients running previous versions of Windows can be configured to use Kerberos Key Distribution Center (KDC) proxy servers to use Kerberos authentication.

Kerberos authentication in Microsoft Entra ID enables:

  • Traditional on-premises applications to move to the cloud without changing their fundamental authentication scheme.

  • Applications running on enlightened clients authenticate using Microsoft Entra ID directly.

How Azure SQL Managed Instance works with Microsoft Entra ID and Kerberos

Customers use the Azure portal to enable a system assigned service principal on each SQL managed instance. The service principal allows SQL managed instance users to authenticate using the Kerberos protocol.

Related content