Forum Discussion
Azure AD Security Group - Can I mail enable the group?
- Dec 05, 2017
Nope, you cannot have it all. If you want it to stay dynamic and use it as security principal, it cannot be mail-enabled. If you scrap the dynamic part, you can create Mail-enabled security group in Exchange. If you can leave without the security part, create dynamic DG in Exchange.
Nope, you cannot have it all. If you want it to stay dynamic and use it as security principal, it cannot be mail-enabled. If you scrap the dynamic part, you can create Mail-enabled security group in Exchange. If you can leave without the security part, create dynamic DG in Exchange.
- Kreera_HouseDec 03, 2020Iron Contributor
VasilMichev Have there been any changes on mail-enabling dynamic Azure security groups? In our use case, we need dynamic mail-enabled groups to assign sensitivity labels and Exchange Dynamic Groups don't work for that and I don't want to create a Microsoft 365 Group with all of its trimmings.
- Robert WoodsDec 05, 2017Iron Contributor
Thanks VasilMichev. That is what I suspected. When going with the Dynamic DG in Exchange Admin Center I only have a couple of options, Company, State, Department to choose from. Any way for me to use the Office Location instead without copying it to a custom attribute?
- Robert WoodsDec 05, 2017Iron Contributor
Actually, I think I found the powershell commands.
New-DynamicDistributionGroup -Name "#Test2" -RecipientFilter {(RecipientType -eq 'UserMailbox'
) -and (OFFICE -eq 'TEST OFFICE')}- RobertFormodiJan 31, 2018Copper Contributor
Yes, this will be working. You can use OPATH filter in the -Recipientfilter.