In our Office 365 environment we have a few different domains in use. I'd like to create a dynamic distribution group to include all the users with one particular domain name in their address. I've searched the intertubes and have found suggestions using PowerShell commands, but haven't found the answer.
Tried this:New-DynamicDistributionGroup -Name "group name" -RecipientFilter {EmailAddresses -like '*@domain.org'}
and I get:
Wildcards cannot be used as the first character. Please revise the filter criteria.
Surely there's a way to do this?!?!? Thanks for any help you can offer.