question

YakupAkpnar-1585 avatar image
0 Votes"
YakupAkpnar-1585 asked YukiSun-MSFT answered

Exchange Dynamic Distrubition Group Add Member

Hello,

I have 1 dynamic distribution group and wants to add 1 static user and 1 static distribution group to that dynamic distribution group.
I didnt find corrent powershell key. Could some one help me ?


Best Ragards.
Yakup

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
1 Vote"
michev answered YakupAkpnar-1585 commented

You don't "add" members to a Dynamic DG, you adjust the recipient filter to include whichever objects you care about. For example, you can use the following to "add" an object with a specific Name value or specific email address:

 New-DynamicDistributionGroup -RecipientFilter "Name -eq 'DG' -or PrimarySmtpAddress -eq 'user@domain.com'" -Name test -WhatIf
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Michev

its solved my problem, Thank you for helps.

Yakup

0 Votes 0 ·
YukiSun-MSFT avatar image
0 Votes"
YukiSun-MSFT answered

Hi @YakupAkpnar-1585,

Great to see that you've got useful information from michev's reply. You can click "Accept Answer" under his post to close this up and also make answer searching easier for others who encounter a similar issue. Thanks for your understanding.

In addition, below is the official document about how to manage Dynamic Distribution groups, hopefully you can find it helpful:
Manage dynamic distribution groups


If an Answer 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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.