How to add “DynamicDistributionList” to your GAL in the “All Distribution Lists”

How to add "DynamicDistributionList" to your GAL in the "All Distribution Lists"
I’ve noticed that , sometimes,  the Dynamic Distribution List aren’t populated on the GAL.
First issue this command to see who is in..
Get-AddressList

How to add "DynamicDistributionList" to your GAL in the "All Distribution Lists"

As you can see, there isn’t DynamicDistributionList on the All Distribution Lists .
So issue this command to add it:
Set-AddressList -Identity “All Distribution Lists” -RecipientFilter { Alias -ne $null -and ObjectCategory -like ‘group’ -or ObjectCategory -like ‘msExchDynamicDistributionList’}
and than re-issue Get-AddressList

How to add "DynamicDistributionList" to your GAL in the "All Distribution Lists"

that’s it !

One Comment

  1. Hello it doesnt worked for me :

    Set-AddressList -Identity “All Distribution Lists” -RecipientFilter { Alias -ne $null -and ObjectCategory -like ‘group’ -or ObjectCategory -like ‘msExchDynamicDistributionList’}

    Issue is :
    Cannot bind parameter ‘RecipientFilter’ to the target. Exception setting “RecipientFilter”: “Invalid filter syntax. For a
    description of the filter parameter syntax see the command help.
    ” Alias -ne $null -and ObjectCategory -like ‘group’ -or ObjectCategory -like ‘msExchDynamicDistributionList’ ” at position
    45.”

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *