Use Microsoft Entra ID authentication for Identity Server database connections
Version:
Starting with Identity Server 9, you can authenticate database connections using Microsoft Entra ID (formerly Azure Active Directory).
To configure Entra ID authentication, follow the instructions for your preferred authentication mode in the Microsoft documentation: Azure Active Directory authentication with SqlClient
Example: Service Principal Authentication
- Go to
<identity-server-root>\Config\production. - Open
Sitecore.IdentityServer.Host.xml. - Update the database connection string by appending:
Note
In Identity Server 9, the following modes have been tested:
- Service principal
- Managed identity (user-assigned and system-assigned)
If you have suggestions for improving this article, let us know!