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
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
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
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.
10 people are following this question.