Dynamic Security Groups In AD

is it possible to create dynamic security groups in AD based on say extensionattribute1?
i need to create a group and have it automatically populated
LVL 1
dougdogAsked:
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.

yo_beeDirector of Information TechnologyCommented:
Unfortunately this is only viable for distribution groups
0
McKnifeCommented:
I haven't done it, but what should work: create a script and have it run on your DC every x minutes using a scheduled task.
The powershell script would read that attribute for all user objects and i present or if set to a defined value, add that user to the group if not already in it.

Will work, but don't ask me for the syntax.
0
Peter HutchisonSenior Network Systems SpecialistCommented:
The alternative method is to create a PowerShell script to look in the domain for users that match that attribute and then clear/add/update/remove the security group with a new list of users.
1

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
Top Threats of Q1 & How to Defend Against Them

WEBINAR: Join WatchGuard CTO and our Threat Research Team on Aug. 2nd to hear the findings from our Q1 Internet Security Report! Learn more about the top threats detected in the first quarter and how you can defend your business against them!

yo_beeDirector of Information TechnologyCommented:
I liked Peter's method, but there is one caveat that needs to be aware of.  Security groups will not apply until you logoff and back on.  

So if you changed a users attributes and they are added to the group via the Powershell and Schedule task the computer that they are on will not know they are part of that group until they logon again.
0
McKnifeCommented:
But that will apply to methods.
0
McKnifeCommented:
As if I hadn't suggested the same right before :-)
1
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
Security

From novice to tech pro — start learning today.

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.