Adding Multiple Email Addresses to a Distribution List in Office 365

The other day I was trying to give several email addresses to a Distribution List in a P1 tenant on Office 365. I wanted one distribution list that acted as the owner of sales@mycompany.com and accounts@mycompany.com. No matter how hard I looked in the Exchange Control Panel, I just couldn’t find the option to do it through the web interface. Maybe it’s there and I missed it… but I found it easier and faster to just do it through Powershell.

For the purposes of this demo I created a test distribution list (DL). You can see in the screen shot that it only allows you to specify one email address.

Create new Distribution List

Create new Distribution List

Once the DL has been created, there also doesn’t seem to be an option to add new email aliases – you can only see the ones that are already there.

Distribution List Email Options

Distribution List Email Options

To add new aliases, we fire up Powershell and connect to Office 365.

With one simple cmdlet, we can add as many email addresses as we want.

PS C:\> Set-DistributionGroup test -emailaddresses @{Add='test@doorstamp.com','test1@doorstamp.com','test2@doorstamp.com'}

Now we can see all the email addresses we added when we take a look at the DL in the Exchange Control Panel.

Distribution List with additional email addresses

Distribution List with additional email addresses

Now, what about if we want to remove an email address from a Distribution Group?

This entry was posted in Office 365 Tips, Powershell. Bookmark the permalink.

5 Responses to Adding Multiple Email Addresses to a Distribution List in Office 365

  1. Aaron says:

    You can actually do this without PowerShell. In the properties of the Dist Group, just type in the new email address you want and hit Save. Each new email address you save is added to the list. Just retype the default address that you want for the distribution group last.

    • DBW says:

      I remember it taking me ages to figure this out. It is very unintuitive but the pop-up window does actually say this is possible.

  2. Alan Byrne says:

    That’s a good tip, I didn’t know that!

  3. STeve says:

    Ok so how do you remove them?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>