28 C
Dubai
Thursday, November 21, 2024

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
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a 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

× How can I help you?