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 Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,091 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 61,911 Reputation points Microsoft MVP
    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 'user@domain.com'" -Name test -WhatIf
    

  2. Yuki Sun-MSFT 24,841 Reputation points
    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.

    No comments