I've got two domains (let's call them domain A and domain B) and I'm looking to set up a distribution list that automatically includes any new users created for either domain as soon as they are set up. I'm aware that Dynamic Distribution Groups might be a good option, but I've heard that they don't support wildcards. Are there any recommended or standard methods to achieve this in the MS365 cloud environment?
2 Answers
Another way to handle this is through a PowerShell script. You can create a script that automatically adds users to a distribution list as they're created. Just feed the input with the new user's name and the script takes care of the rest, adding them directly to your group.
Dynamic Distribution Groups are definitely what you want here! Instead of using wildcards for the membership rule, consider using a statement like `contains $DomainName` to filter recipients. This setup allows you to dynamically include users from both domains without any manual effort.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures