How to find and move a distribution group

Catherine Jaszewski 716 Reputation points
2021-03-15T18:01:35.04+00:00

I am trying to uninstall Exchange 2016 CU17 from my Exchange environment. All Mailboxes have been migrated to the new Exchange 2019 CU8 mailbox database and all databases have been removed from the 2016 CU17 server.

The Readiness Checks Prerequisite Analysis is stating "This computer is responsible for expanding the membership of 1 distribution groups. These groups must be reassigned to another server before setup can continue." And "This computer is responsible for expanding the membership of 1 dynamic distribution groups. These groups must be reassigned to another server before setup can continue."

Is there a way to find where the distribution group is?

Please advise.

Thank you,

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,494 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xzsssss 8,861 Reputation points Microsoft Vendor
    2021-03-16T04:00:05.883+00:00

    Hi @Catherine Jaszewski ,

    You could first run this cmdlet on your legacy Exchange EMS to check if there is a distribution group:

    Get-DistributionGroup   
    Get-DynamicDistributionGroup  
    

    If there is a result, please move it to the new server:

    Set-DynamicDistributionGroup "GroupName" -ExpansionServer "ServerName"  
    

    If it's a blank, you could check the legacyExchangeDN in your ADSIEDIT:
    ADSIEDIT > Connect to Configuration > Services > Microsoft Exchange > DomainName > Administrative Groups > Exchange Administrative Group> CN=Servers
    Right click the server needs to be removing, choose Properties and find the legacyExchangeDN, copy the value to a txt and replace it with the Server Name.
    Then wait for serval minutes and try uninstall it.

    Regards,
    Lou


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 145.1K Reputation points MVP
    2021-03-15T19:00:43.177+00:00
    Get-DynamicDistributionGroup | ? {$_.ExpansionServer -match '2016ServerName'}
    

    and

    Get-DistributionGroup | ? {$_.ExpansionServer -match '2016ServerName'}