Can you make a Dynamic Distribution List based on a recursive query
I have a request from the buisness to make a DDL that will contain all direct and indrect reports to an executive. We have the manager fields filled out in AD. I would like to make a recipient filter that Includes the executive, his direct reports, their direct reports, and their direct reports without have a filter statement that is 20 miles long. Is this possible? Something along the lines of (Manger -eq Jim Smith) -or (Manager -eq (any of Jim Smiths reports))
February 2nd, 2012 11:14am

One way might be to create a group for each layer, working off each other and then combining all groups together. The real question is how many layers deep does the group need to be? For example: DDL#1 - All users who manager is the executive DDL#2 - all users whose managers are in DDL#1 DDL#3 - All users whose managers are in DDL#2 GrandDDL - All users in DDL#1,2, and 3 combined.JAUCG
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2012 11:45am

Interesting thougt, the issue I am running into is it is probably 6-7 layers deep. Also you can not do memberof for DDL's. They don't actually have memberships. Did a quick look and as you do down the chain, we have Exec, VP, Sr. Dir, Dir, Manager, and Supervisor levels. 6 levels and probably abour 45 individual managers.
February 2nd, 2012 11:50am

I am not sure this can be done as DDLs can use recipient filters but I do not think they allow a customer LDAP query like this. I was looking at a query on another blog about recursion and the manager attribute and building a group off that, but the group would be static not dynamic. If you could somehow combine that query with the new-dynamicdistriutiongroup's recipient filter... that might work. JAUCG
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2012 12:43pm

Hi Marv1099, Per my knowledge, it is hard for you to make a dynamic distribution list based on a recursive query. but you can try to filter users who direct or indirect report to an executive, then add the user to one distribution group. Thanks, Evan Liu TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Evan Liu TechNet Community Support
February 3rd, 2012 2:00am

Hello, How about the issue, any updates? Thanks, Evan Liu TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Evan Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
February 5th, 2012 9:19pm

We have abandon this endovor and are going to use one of the custom attributes for Business unit.
February 6th, 2012 10:47am

We have abandon this endovor and are going to use one of the custom attributes for Business unit.
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2012 6:41pm

That is the way most people do it. There are now extra attributes that can be assigned to users in Exchange 2010 SP2 - http://www.stevieg.org/2011/12/using-multi-valued-custom-attributes-in-exchange-2010-sp2/JAUCG
February 9th, 2012 1:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics