Exchange Dynamic Distrubition Group Add Member

Yakup Akpınar 1 Reputation point
2021-04-26T15:29:32.213+00:00

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

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
    2021-04-26T16:31:55.607+00:00

    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 '******@domain.com'" -Name test -WhatIf
    
    1 person found this answer helpful.

  2. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2021-04-27T07:07:49.49+00:00

    Hi @Yakup Akpınar ,

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.