Forum Discussion
Orion-Skol
Jul 16, 2020Brass Contributor
create dynamic distribution group in exchange online office 365
Folks, I am able to create dynamic security group in azure as below requirements. - with all users - user type should be Member - excludes displayname XYZ - User should employeeid. My syntax is...
Orion-Skol
Jul 16, 2020Brass Contributor
how are about excluding account contains specific word like Guest = mailto:GuestMS@CONTOSO
exclude any reciepient contains words guest?
VasilMichev
Jul 16, 2020MVP
Guests are actually valid recipients, you can exclude them via the recipienttype. Excluding based on (part of the) name/alias is also possible. This article lists (most of) the properties you can use for creating a filter for Dynamic DG: https://docs.microsoft.com/en-us/powershell/exchange/recipientfilter-properties?redirectedfrom=MSDN&view=exchange-ps