| title | Use Contained Databases with Availability Groups | |||
|---|---|---|---|---|
| description | Learn about the using a contained database with Always On availability groups in SQL Server 2019 (15.x). | |||
| author | MashaMSFT | |||
| ms.author | mathoma | |||
| ms.reviewer | randolphwest | |||
| ms.date | 02/04/2026 | |||
| ms.service | sql | |||
| ms.subservice | availability-groups | |||
| ms.topic | how-to | |||
| helpviewer_keywords |
|
[!INCLUDE SQL Server]
This article contains information about the using a contained database with [!INCLUDE ssHADR] in [!INCLUDE ssnoversion].
Before adding a contained database to an availability group, ensure that the contained database authentication server configuration option is set to 1 on every server instance that hosts an availability replica for the availability group.
For more information, see Server Configuration: contained database authentication.