Exchange 2010 Query Based Distribution Groups

I have a Query Based DG for our South Carolina office that doesn't seem to be adding/removing  people as they come and go.  Also I cant seem to access this DG through AD.  I have a container under Distribution groups for Query Based DG but the icons are unrecognizable and it doesn't give me any information when I hit properties outside of "managed by".  How can I access this group and ensure that its add and removing people from the group moving forward?


Thanks

I have added a screenshot from AD of the iconsQuery Based DG ICON
Twhite0909Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jrhelgesonCommented:
Where are you seeing that icon, from within Active Directory Users & Computers, or from within Exchange System Manager?

How was the Query-based distro group created?
Also, what Service Pack level are you running on?

I had a very similar situation when I created a Q-bDG using a custom powershell script. I had to delete it and re-create it as a Dynamic Distribution Group within exchange using the EMC or the powershell command.
0
Twhite0909Author Commented:
I see the Icon within ADUC

These if I'm correct were all created using a power-shell  scripts long before I came aboard but as per the norm all those gents are long gone

Im at Exchange 2010 SP 2 and in the process of Upgrading to SP 3 and the latest Rollup Update but that is about 30 days off.
0
Twhite0909Author Commented:
I found this this while looking in the EMC.  It says EMC cannot modify and the shell command must be used.  SO would it be betetr to just recreate using the EMC at this point?

qbdg emc message
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Twhite0909Author Commented:
The main problem IM having is that not all the users receive messages when Is end to this QBDG
0
jrhelgesonCommented:
Yes, that is exactly the same problem I had.  Delete the QBDG and re-create using EMC and New Dynamic Distribution Group in exchange.
0
Twhite0909Author Commented:
Problem there is that I have no idea how to re-create the conditions.  Any condition I try to add and then hit Preview it shows nothing.  The powershell script shows as :




(&(!cn=SystemMailbox{*})(&(&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*))) )))(objectCategory=user)(division=R)(!employeeID=C*)(employeeID=*))))
0
jrhelgesonCommented:
It looks like the only filters it is using are 'division=R', and employeeID!=C*' (does not start with the letter C), all the extra stuff in there is for the server to determine that these are users of the object type person, etc.
0
Twhite0909Author Commented:
Where can I add the filters? Is it under Conditions?



dddd
0
jrhelgesonCommented:
It would not be Custom Attributes you're looking for, those are set for each user.
You just need to determine how best to narrow down and select those users.
0
Twhite0909Author Commented:
Thats my whole Point though sir.  I have never done this before and I am confused on how to narrow down and select the users I need. How can I add the attributes or Filters or conditions or whatever the terminology is from the SHell created DBDG to the EMC GUI created DBDG?

The shell created group had two specific filters that seemed to worked.  it had:

Division = R
employeeID!=C*


My issue is I cant seem to find where in the EMC DBDG that I apply these two filters or whatever they are.   I went into the EMC I select new Dynamic Based Distribution Group.  I named it.  I said to place it in my DYnamic Based Distribution Group container in AD.  I said to Apply it to the my OU called Locations so it searches all my remote and local office containers with Users.  NOW I only need to apply the settings that say pull out the users that have this division in their properties and BAM Ill be home free.  

WHERE is it exactly that I do this?
0
Twhite0909Author Commented:
Basically guys I have 300 users most of them within the same OU but I need a wildcard to catch anyone who might be added elsewhere.  That wild card or common denominator seems to be within AD Attributes under Division everyone shows the letter R entered here.  SO I just need to create something within the DBDG properties that says anyone with their AD Attribute saying Division R  goes to the this DBDG.


Thanks
0
jrhelgesonCommented:
You'd need to create custom attributes for those people, then create a dynamic distribution group off of those custom attributes.

Exchange Custom Groups
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Twhite0909Author Commented:
The attribute is already there for everyone.  It doesn't seem to be a custom one.  Here is a screenshot of one of the 300 + users with the same attribute of "Division = R".  So since they all already have this I need to know where inside of the Dynamic Group that I can tell it to look for this specific attribute.

Ad Attirbute
0
jrhelgesonCommented:
I do not think it possible to get a Dynamic Dist Group to search inside AD.
If you use the PowerShell Command: New-DynamicDistributionGroup there is an option called: [-ExternalDirectoryObjectId <String>], however, under the get-help for that command it states that "This parameter is reserved for internal Microsoft use."

<get-help New-DynamicDistributionGroup -full>

You can select large groups of people in EMC and set all their custom attributes all at once.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.