Exchange 2010 Troubleshooting Managing a DAG and Group Membership fails
Issue
As part of the migration to Exchange 2016 you might have to recover an Exchange 2010 member server or both if you have storage corruption or the VM's OS has simply become unusable.
Recovery is done and when you try add the member server/s back to the Database Availability Group (DAG), you presented with a simple error.
Error
Error message
Error:
A computer account named <server name> already exists and is enabled. The accoutn must be disabled in order to be used by the database availability group.
And also
Warning:
The operatoin wasn't succesful because an error was encountered. You might find more detail in log file ...
Exchange Management Shell command attempted:
Add-DatabaseAvailabilityGroupServer -MailboxServer <servername> -Identity <identity>
The DAG computer object in Active Directory has not been disabled and so it fails.
Screenshot
https://www.collaborationpro.com/wp-content/uploads/2020/02/image-7.png
Solution
Really simple fix, go to ADUC (Active Directory Users and Computers) and right click on the computer object and select disable.
Now click the back button on the member screen and it should install Failover Clustering successfully and add the members to the DAG.