Share via


Remove a database availability group in Microsoft Exchange

Removing a DAG is a quick and easy task. You can use the EAC or the Exchange Management Shell to remove a DAG.

Looking for other management tasks related to DAGs? Check out Manage database availability groups.

What do you need to know before you begin?

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

Use the EAC to remove a database availability group

  1. Navigate to Servers > Database availability groups.

  2. Select the DAG you want to remove and click Delete Delete icon..

  3. Click Yes to confirm the warning and remove the DAG.

Use the Exchange Management 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 Exchange Management Shell, run the following command to see if the DAG still exists:

    Get-DatabaseAvailabilityGroup <DAGName>
    

    If the DAG was successfully deleted, the preceding command will produce an error message indicating the object could not be found.