There’s currently no option in the web interface to add multiple SMTP proxy addresses to cloud only office 365 distribution groups. Microsoft requires administrators to add extra proxy addresses through PowerShell. Use the following set of commands to add and verify the additional proxy addresses.

  1. To connect powershell to Office 365, open Powershell
  2. Type the following command: $Cred = Get-Credential
  3. Enter the username / password of a valid O365 admin account
  4. Type the following command: $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic –AllowRedirection
  5. Type the following command: Import-PSSession $Session
  6. Powershell is now attached to Office 365 and we can run the command to add addresses to the distribution group.
  7. Set-DistributionGroup “Group Name” -emailaddresses @{Add=’primary.email@domain.com’,’secondary.email@domain.com’}

To confirm this has worked run the following command:

  1. Get-DistributionGroup “Group Name” | select -ExpandProperty EmailAddresses

To remove an email address run the following command:

  1. Set-DistributionGroup “Group Name” -EmailAddresses @{Remove=’secondary.email@domain.com’}
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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