Quantcast
Channel: Microsoft Office 365
Viewing all articles
Browse latest Browse all 17713

Create a dynamic distribution list based on domain

$
0
0

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.
 

Viewing all articles
Browse latest Browse all 17713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>