• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1424
  • Last Modified:

Remove Shared Mailboxes From Dynamic Distribution Group

I have Exchange 365, and I created a dynamic distribution group that includes all employees.  This works fine, but the group appears to include "Shared" mailboxes.  Is there a way to remove these addresses from the group without specifying each individual mailbox?  Thanks for reading.
0
thedeal56
Asked:
thedeal56
  • 3
1 Solution
 
dhoppelCommented:
You'd have to create a filter for your disto group that specifies only user boxes, else you're going to have to manually hide those mailboxes from your list.
0
 
thedeal56Author Commented:
Thanks for your quick reply!  This is how I initially configured the group:
group settings
I can add additional filters, but I'm not really sure how to make a filter that excludes the shared boxes.
0
 
R--RCommented:
Please refer this article from http://community.office365.com (Linda Wang MSFT Support ) to understand the available RecipientType or IncludedRecipients filter when you create a Dynamic Distribution Group.

http://community.office365.com/en-us/f/158/t/80100.aspx
0
 
thedeal56Author Commented:
Sorry for the delay.  Let me know if I'm understanding this correctly.  Let's say for each shared mailbox I input "shared" in the department field.  Then I add an attribute to the distribution group(making sure to include my existing attributes) that excludes any departments with the name "shared".  Will that work?
0
 
thedeal56Author Commented:
Here's what I ended up doing:  I added a value of "Exclude" as a custom attribute to the boxes that I didn't want to show up in the group, and then I ran this command:

Set-DynamicDistributionGroup "All Employees" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (CustomAttibute1 -ne 'Exclude'))}

Looks like it's all good now.  Thanks so much for your help with this.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now