Avatar of MistrPC1
MistrPC1
Flag 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
Email ProtocolsEmail ServersEmail ClientsEmail Software

Avatar of undefined
Last Comment
MistrPC1

8/22/2022 - Mon
Will Szymkowski

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.
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
Will Szymkowski

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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
MistrPC1

ASKER
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
Will Szymkowski

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.
MistrPC1

ASKER
Yes sir, your help would be appreciated.

Thank you
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Will Szymkowski

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
MistrPC1

ASKER
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???
Will Szymkowski

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.
MistrPC1

ASKER
So I just add the condition  of notallusers to custom attribute15 on the distro?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Will Szymkowski

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.
MistrPC1

ASKER
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
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
MistrPC1

ASKER
Thanks for everyones help.   Sorry about the long reply...I went on vacation.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.