Share via

Dynamic Distribution Group

Anonymous
2016-10-17T23:49:09+00:00

I have a dynamic distribution group that is working fine. I want to add to it the people in the Contacts.

Not sure how to do that.

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

16 answers

Sort by: Most helpful
  1. Anonymous
    2016-10-20T06:53:05+00:00

    RecipientFilter is modifiable.

    Ref: https://msdn.microsoft.com/en-us/library/dd264648(v=exchsrvcs.149).aspx

    Your current setting only takes UserMailbox, you'd need to allow MailContact as well to include Contacts as DDL members.

    Replace: (RecipientTypeDetails -eq 'UserMailbox')

    With: ((RecipientTypeDetails -eq 'UserMailbox') -or (RecipientTypeDetails -eq 'MailContact'))

    Let us know how it goes.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-10-20T06:26:17+00:00

    Hi Kdatech Kyocera,

    Do you need further assistance? If yes, please confirm the information above when you have time.

    Regards,

    Robert

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-10-19T06:48:20+00:00

    Hi Kdatech Kyocera,

    Thanks for the updates.

    By saying “the people are now in contacts”, can you please send us a screenshot for it? Meanwhile, what do you mean by “do not show in the DynamicDistributionGroup AllStaff”. Please tell us more details about your requirements.

    As for the recipient filter, can you please send us the attributes or settings you have set for the membership of the group? Please tell us the detailed steps when you set up the group and we will do further analysis for how to set the recipient filter. Thanks for your cooperation.

    Regards,

    Robert

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-10-18T22:11:05+00:00

    I followed the steps above and the people are now in contacts but do not show in the DynamicDistributionGroup AllStaff.  It seems to me we need to modify the Recipient filter:

    "((RecipientTypeDetails -eq 'UserMailbox') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'PublicFolderMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuditLogMailbox')))"

    If so how do I modify the Recipient filter?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2016-10-18T02:36:24+00:00

    Hi Kdatech Kyocera,

    To get the members of a Dynamic distribution group, we need to use PowerShell. Here are the steps:

    1. Connect to Exchange Online Using Remote PowerShell.
    2. Run the two commands in this article: https://technet.microsoft.com/en-us/library/bb232019(v=exchg.160).aspx

    Here is the screenshot of my test result:

    Please replace “Shanghai” and “ddg” with your actual filter and the name of the Dynamic distribution group.

    After you get the names of the members, please go to Outlook Web App (https://outlook.office365.com/owa) – People – Directory and add the members to your Contacts list.

    If I have misunderstood anything, please tell us your detailed requirements about “I want to add to it the people in the Contacts”, we will do further analysis for you.

    Thanks,

    Robert

    Was this answer helpful?

    0 comments No comments