38 C
Dubai
Monday, August 8, 2022
spot_img

How to Convert Dynamic Distribution Group to Normal Distribution Group in Exchange 2010 & 2013

In some instances we had to Convert Dynamic Distribution Group to Normal Distribution Group .

In order to Sync in Office 365, in few other scenarios we had to do this as well

Lets see how to do it.

I would prefer to Create a  new Distribution Group with the same filter. where deleting and recreating might create some cache issues and NDR issues

Lets say I have a dynamic Distribution Group with the Name DG1

Its has a filter “CustomAttribute1 –eq CareExchange”

image S

 Step 1:

Save the Dynamic Distribution Group to a Variable

$DynamicDG = Get-DynamicDistributionGroup “DG1”

image

Step2:

Now run the below Command to list the Existing members of the Dynamic DG

Get-Recipient -RecipientPreviewFilter $DynamicDG.RecipientFilter

image

Now Save the Members in a Variable

$DG1Members = Get-Recipient -RecipientPreviewFilter $DynamicDG.RecipientFilter

image

Step 3:

Now Create a New Distribution Group

New-DistributionGroup DG1Cloud

image

Adding the DynamicDistributionGroup members into a New Distribution Group

$DG1Members | foreach{Add-DistributionGroupmember DG1Cloud –Member $_.Name}

image

Verifying the members of the New Distribution Group

image

Now you got a Copy of your Dynamic Distribution Group safely Created as a Normal Distribution Group

Depends upon your situation , You can delete the existing one and Rename the Newly Created one.

and Make sure you are not going to get into Outlook Cache issues.

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Specialized in Microsoft Azure - Office 365 / Microsoft Exchange; conducted numerous projects worldwide in designing, supporting, and implementing messaging and virtualization infrastructure for medium-sized and large enterprises. Further, I am a Cloud Architect and Technical Advisor for various start-ups.

Related Articles

4 COMMENTS

  1. I get an error at step two.

    [PS] C:\WINDOWS\system32>Get-Recipient -RecipientPreviewFilter $DynamicDG.RecipientFilter
    Cannot validate argument on parameter ‘RecipientPreviewFilter’. The argument is null or empty. Supply an argument that
    is not null or empty and then try the command again.
    + CategoryInfo : InvalidData: (:) [Get-Recipient], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-Recipient
    + PSComputerName : mailserver.gov.dnvr

LEAVE A REPLY

Please enter your comment!
Please enter your name here