How do i remove exchange 2016 from the domain when it fails due to dynamic groups.

Corey Shelton 0 Reputation points
2026-11-19T22:12:45.67+00:00

We are running a hybrid Exchange environment

We have installed a new Windows 2025 server and Exchange Se server for onprem relay all functionailty has been migrated to this server.
Now i need to uninstall the exchange 2016 server from the environment.
However running the uninstall fails when checking for Dynamic groups. I have confirmed their are no Dynamic groups.
I have been through all the trouble shooting that i can find online. My next step seems to be a manual uninstall using Adsi edit.
But before I go down that line just wondering if anyone else has had issues. and if they found a way forward.

Exchange | Exchange Server | Other
Exchange | Exchange Server | Other

A robust email, calendaring, and collaboration platform developed by Microsoft, designed for enterprise-level communication and data management.Miscellaneous topics that do not fit into specific categories.

0 comments No comments

1 answer

Sort by: Newest
  1. Hendrix 2,935 Reputation points Independent Advisor
    2026-11-19T23:21:48.7133333+00:00

    Hi Corey,

    Based on what you shared, it's likely that an Active Directory group object still has the Exchange 2016 server recorded as its expansion server. Since you have already confirmed that there are no dynamic distribution groups, the uninstall error may be caused by a stale or orphaned Active Directory object.

    I recommend first checking Active Directory for objects whose msExchExpansionServerName attribute still references the old server:

    • If an orphaned group object is returned, back up Active Directory and clear or reassign that specific attribute, allow AD replication to complete, and then retry the Exchange uninstall
    • If the command returns nothing, please provide the exact prerequisite error and the surrounding entries from C:\ExchangeSetupLogs\ExchangeSetup.log

    Hope to hear from you soon.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.