--- title: "Secondary database is not joined | Microsoft Docs" ms.custom: "" ms.date: 01/09/2019 ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: high-availability ms.topic: conceptual f1_keywords: - "sql12.swb.agdashboard.drp2joined.issues.f1" helpviewer_keywords: - "Availability Groups [SQL Server], policies" ms.assetid: 10817e5e-75fa-42dd-baa2-359bea3ad051 author: MashaMSFT ms.author: mathoma manager: craigg --- # Secondary database is not joined ## Introduction ||| |-|-| |**Policy Name**|Availability Database Join State| |**Issue**|Secondary database is not joined.| |**Category**|**Warning**| |**Facet**|Availability database| ## Description This policy checks the join state of the secondary database (also known as a "secondary database replica"). The policy is in an unhealthy state when the dataset replica is not joined. The policy is otherwise in a healthy state. > [!NOTE] > For this release of [!INCLUDE[ssCurrent](../../../includes/sscurrent-md.md)], information about possible causes and solutions is located at [Secondary database is not joined](https://go.microsoft.com/fwlink/p/?LinkId=220862) on the TechNet Wiki. ## Possible Causes This secondary database is not joined to the availability group. The configuration of this secondary database is incomplete. ## Possible Solution Use Transact-SQL, PowerShell, or SQL Server Management Studio to join the secondary replica to the availability group. For more information about joining secondary replicas to availability groups, see [Joining a Secondary Replica to an Availability Group (SQL Server)](https://msdn.microsoft.com/library/ff878473\(en-us,SQL.110\).aspx). ## See Also [Overview of AlwaysOn Availability Groups (SQL Server)](overview-of-always-on-availability-groups-sql-server.md) [Use the AlwaysOn Dashboard (SQL Server Management Studio)](use-the-always-on-dashboard-sql-server-management-studio.md)