In some instances we had to Convert Dynamic Distribution Group to Normal Distribution Group .
Inorder 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”
Step 1:
Save the Dynamic Distribution Group to a Variable
$DynamicDG = Get-DynamicDistributionGroup “DG1”
Step2:
Now run the below Command to list the Existing members of the Dynamic DG
Get-Recipient -RecipientPreviewFilter $DynamicDG.RecipientFilter
Now Save the Members in a Variable
$DG1Members = Get-Recipient -RecipientPreviewFilter $DynamicDG.RecipientFilter
Step 3:
Now Create a New Distribution Group
New-DistributionGroup DG1Cloud
Adding the DynamicDistributionGroup members into a New Distribution Group
$DG1Members | foreach{Add-DistributionGroupmember DG1Cloud –Member $_.Name}
Verifying the members of the New Distribution Group
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.