Forum Discussion
CG-1717
Jun 12, 2019Brass Contributor
Dynamic DL or group based on org hierarchy?
Is there a way to create a dynamic DL or group based on org hierarchy? For example if the Global HR Director wants to communicate to everyone in HR... As of right now because of a recent acquisition...
jerome317
Jun 13, 2019Brass Contributor
VasilMichev wrote:If you need a dynamic DL, those exist only in Exchange Online (not Azure AD) and you must use the Exchange cmdlets:
New-DynamicDistributionGroup manager -RecipientFilter {(Manager -eq 'CN=user,OU=tenant.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURPR03A001,DC=prod,DC=outlook,DC=com') -and (RecipientType -eq 'UserMailbox')}where you need to provide the full DN of the manager.
VasilMichev- you can do it in Azure AD with the 'modern DL' called Office365 Groups haha using Microsoft verbiage here!
VasilMichev
Jun 13, 2019MVP
I know you can, but using dynamic membership for "modern" groups is *paid* functionality, as in requires Azure AD Premium licensing. While using good old fashioned dynamic DGs in Exchange Online is free.
- CG-1717Jun 17, 2019Brass Contributor
Thank you for your responses here! We will look into these approaches and see what works for us! I really appreciate the feedback!
Cristina