Remove a database availability group
Applies to: Exchange Server 2013
Topic Last Modified: 2012-11-16
Removing a database availability group (DAG) is a quick and easy task. You can use the EAC or the Shell to remove a DAG.
Looking for other management tasks related to DAGs? Check out Managing database availability groups.
Estimated time to complete: 1 minute
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Database availability groups" entry in the High availability and site resilience permissions topic.
Before you can remove a DAG, the DAG must be empty. If the DAG you want to remove contains any Mailbox servers, you must first remove the servers from the DAG. For detailed steps about how to remove a Mailbox server from a DAG, see Manage database availability group membership.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
Navigate to Servers > Database availability groups.
Select the DAG you want to remove and click Delete .
Click Yes to confirm the warning and remove the DAG.
This example removes the DAG DAG1.
Remove-DatabaseAvailabilityGroup -Identity DAG1
To verify that you've successfully removed the DAG, do one of the following:
In the EAC, go to Servers > Database Availability Groups, and see if the DAG is still displayed.
In the Shell, run the following command to see if the DAG still exists:
If the DAG was successfully deleted, the preceding command will produce an error message indicating the object could not be found.