Link to home
Start Free TrialLog in
Avatar of MistrPC1
MistrPC1Flag for United States of America

asked on

All Users exclusion

I am trying to setup a "exclusion" to remove people from email that is sent to the "All Users Group"  At my last job, someone had setup a exclusion and we would actually put "notallusers" in the Attribute 15 of their Exchange account and then that would exclude them from getting emails sent out to the All Users Group.   I am trying to enable something like that at my present position.  If anyone can shed some light on what I need to do, it would be greatly appreciated. (We are using Exchange 2013)

Michael
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Yes using the CustomAttribute (1-15) using a value of your choice and then referencing this in your Filter on the Address List would accomplish that.

Do you have a list of users that you want "excluded" from this AllUsers Address List?

If you do I can create a powershell script that will add the properties to their CustomAttribute and then you just need to update the conditions on the AllUsers AddressList.

Will.
Avatar of MistrPC1

ASKER

I appreciate the help, but if I am going down the same path you are talking about ....I need to:

1. Open Exchange ECP
2. Select Groups
3. Select the All Users Distribution Group
3. Click on Membership
4. Under the heading  "Membership in this group will be determined by the rules you setup below.   Click the "Add Rule" button.
5. Select the Attribute I want  (in this case I will select "Custom Attribute 15"
6. Specify words or phrases and input "notallusers"
7. Save

Then go to the Individual email box I want to be excluded and Under the General tab, go down to Custom Attributes and add "notallusers" in the 15 spot

And this will prevent users from getting any emails that is is sent to the All Users Distribution List?

**note**   I do not have a list as of yet, but I do not think its going to be an extensive list of email addresses

Michael
You have the correct idea however, are you talking about Dynamic Distribution Groups or Address Lists? When you create these Conditions it is the reverse of what you siad. They are conditions based on WHAT you are trying to find.

Will.
I am talking about Dynamic Distribution List.  One of the extra "rules" is for  everyone within the OU that houses all of our user.  I need to be able to add the attribute in field 15 for "notallusers" and then go to each email address and put that same attribute in and that user gets exempt from any email sent to the all users distribution list
You can add this using a script if you have a list of users you want to target, powershell specifcially.

I can assist with that if needed.

Will.
Yes sir, your help would be appreciated.

Thank you
SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wait.....I don't think we are on the same page.  By Adding the "notallusers" to Custom Attribute 15 of a particular email account. That script will prevent them from getting the all users email?   Seems like there needs to be more to this on the actual dynamic distro list???
You also need to update the conditions as well. I am assiting in the automation of updating the fields required rather than doing them one by one.

Will.
So I just add the condition  of notallusers to custom attribute15 on the distro?
As i stated before when you modify conditions on Distribution Groups you are putting conditions in based on what "you want to FIND" not "what you want to EXCLUDE".

Will.
okay.....so where I really need the assistance is the exclusion portion.  With the few amount of email addresses I can add the custom attribute  to them with no issues, but I need the exclusion portion and where to set it
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for everyones help.   Sorry about the long reply...I went on vacation.