Remove a database availability group
Applies to: Exchange Server 2013
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.
What do you need to know before you begin?
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.
Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.
Use the EAC to remove a database availability group
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.
Use the Shell to remove a database availability group
This example removes the DAG DAG1.
Remove-DatabaseAvailabilityGroup -Identity DAG1
How do you know this worked?
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.