Link to home
Create AccountLog in
Avatar of Cav IT
Cav ITFlag for South Africa

asked on

Automatic group assignment or dynamic distribution list

Good day,


We are running an AD environment with ADSync to Azure. We have multiple sites with one domain and a domain controller on each site.

We have OU's for each site and the users are in their own respective OU and groups.

I am looking for the best automatic solution to add new users to a distribution group on each site. This must only add users with an email address as there are users without email addresses as well.

Avatar of Michael B. Smith
Michael B. Smith
Flag of United States of America image

Is your Exchange on-prem or in the cloud?


If on-prem then you can create a dynamic DG based on OU membership and whether or not an email address is present.


If EOL, then you can create a dynamic DG based on a custom attribute value and whether or not an email address is present.

and don't forget that the Dynamic DL or group from the Azure AD is cloud only, hence will not be synched down to the OnPremise AD DS.

ASKER CERTIFIED SOLUTION
Avatar of Jian An Lim
Jian An Lim
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Cav IT

ASKER

Good day, All,


To answer some questions, @Michael B. Smith: - It is a cloud Exchange. I tried the DG route, but it looks more like the Powershell script option is the way to go.

I have lots of users in different OUs, some with email addresses, and also some without. From the cloud side, it is not seeing the AD Groups on-prem as it should.


@Jian An Lim, I am going to try this today and provide feedback on this. Thank you very much for the advice and suggestion.

Avatar of Cav IT

ASKER

Thank you very much for the suggestion and help. It is highly appreciated.