2.19. Removing Administrative Groups
Problem
You want to remove an AG because it is no longer needed within your Exchange organization.
Solution
Using a graphical user interface
Open ADSI Edit (adsiedit.msc) from the Windows Support Tools.
Expand the configuration container. Drill down to the appropriate
CN=Configur-ation, DC=<domain>,DC=<tld>container for your Exchange organization.Expand the CN=Services container, then expand the
CN=<Organization>object that matches your domain and theCN=Administrative Groupsnode it contains.Right-click the AG you want to delete, then select Delete. Click OK twice when prompted.
Discussion
Every object in Exchange has to be owned either by a server (e.g., storage groups, databases) or by an AG (e.g., servers, connectors, and routing groups). If you delete an AG without removing the objects in it, that would leave orphaned objects, which would be bad. However, if ESM allowed you to easily remove an AG and all the objects it contains, that would be worse—imagine a single-click way to remove all of your servers, storage groups, and so on! To make it harder to delete a needed object accidentally, Microsoft blocks deleting AG objects from ESM; you must use ADSI Edit or VBScript to remove unnecessary AGs.
Tip
Microsoft recommends against deleting AGs from VBScript.
See Also
Recipe 2.18 for creating AGs and Recipe 2.20 for moving objects between AGs