How to remove a user from a dynamic distribution group

I am using Exchange  2007, and I have a Dynamic Distribution Group that includes all AD users in my organization; my question is how do I remove particular user from this group?
CertiCellAsked:
Who is Participating?
 
ingolfssoniConnect With a Mentor Commented:
Ok the first you need to do is to identify how you can filter this user from the rest, one option is to set custom attribute for instance Custom Attribute 3 as NotIncludedInDDG_Test1 (have a easy understandable name and this also gived you more options in the future)

Then this is a mandatory reading for you.
http://technet.microsoft.com/en-us/library/bb125127.aspx
http://technet.microsoft.com/nb-no/library/bb738157(en-us,EXCHG.80).aspx

But the answer is to use powershell command which should look like this.
New-DynamicDistributionGroup -Name "Test1" -OrganizationalUnit "OU=Groups,DC=Mydomain,DC=com" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and -not (CustomAttribute3 -eq 'NotIncludedInDDG_Test1'))} -RecipientContainer "Mydomain.com"

Here you have all users which don't have CustomAttribute3 as NotIncludedInDDG_Test1.

Just short on what these arguments are.
- OrganizationalUnit: Specifies the container/OU where the group will be created
- RecipientContainer: Specifies container to pick up recipients from. If not specified, this gets set to the same value as the OrganizationalUnit parameter (the OU/Container where the group is created), and the filter may not return the expected recipients (or worse— may not return any recipients at all... )

Hope this gets you on right track
0
 
Brian PiercePhotographerCommented:
Dynamic groups are created on-the-fly and the membership is evaluated according to the criteria set. If your dynamic group is set to contain all users, then by definition you can't remove a user from it.

Normally dynamic groups ae set to evaluate membership according to a specified field (such as all those iin a particular department). You will need to update the user accounts with appropriate information and define the query appropriately

There is a similar question here http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23055391.html
0
 
PostmasterCommented:
Short answer - make it so the list logic does not include them
0
 
ingolfssoniCommented:
Do you need more info on this, if there is anything unclear then make a comment.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.