Active Directory Dynamic Distribution Groups


I have a requirement to create distribution groups based on the reporting to field in AD.

Is there a query based DG to add all the users reporting to one manager to a group.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Will SzymkowskiSenior Solution ArchitectCommented:
Dynamic Distribution Groups can be configured many ways. Typcailly you would use the CustomAttribute within Exchange or reference them to a specific OU or something like that. If you want something more specific then you would want to use a Powershell script which is more flexible in accomodating what you are after.


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
GulfITAuthor Commented:
Matthias RudolphCommented:
I'd use the manager attribute and create a group based on that.
The opposite directReports attribute shows all the reports a user (manager) has.

The direct solution using the AD manager attribute works with
- PowerShell
- FirstWare DynamicGroup (3rd party)

Second solution lets you select any available AD attribute and build a query with it.
You can LDAP type it or use the drag n drop query builder. Update intervalls can be set to your needs.

Here's a screenshot for creating a group based on the manager attribute set to "brian.miller"
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
Active Directory

From novice to tech pro — start learning today.