Back to blog

Removing an Email Address from a Distribution Group in Office 365

Oct 24, 2012 by Emma Robinson

A visitor asked a great question to us in the comments section – How do we remove an address from a Distribution Group?

Luckily, this is now easier than it ever was!

We start off, as usual, by using Powershell to connect to Office 365.

First, we check out what email addresses this Distribution Group has attached to it.

PS C:\> Get-DistributionGroup newsletter | select emailaddresses
EmailAddresses
--------------
{SMTP:newsletter2@cogmotive.com, smtp:test2@doorstamp.com}
PS C:\>

For this example, we will be removing the email address test2@doorstamp.com without affecting the other email addresses using the following command.

Set-DistributionGroup newsletter -EmailAddresses @{Remove='test2@doorstamp.com'}

Finally, we check the distribution list to make sure the email addresses look how we expect!

PS C:\> Get-DistributionGroup newsletter2 | select emailaddresses
EmailAddresses
--------------
{SMTP:newsletter2@cogmotive.com}
PS C:\>

Learn more about our Office 365 reporting software.