• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Tachytelic.net

  • Get in Touch
  • About Me

Adding an email address alias to a distribution group in Office 365

September 2, 2013 by Paulie 6 Comments

This post covers how to add an alias address to a distribution group in Office 365 using Powershell. The email address is added by using the Set-DistributionGroup cmdlet, but the PowerShell code you need will be created for you by filling out the form below:

 

Copy and paste the text above into a PowerShell Window and all the hard work will be done for you.

You will be prompted for your Office 365 credentials (make sure you enter credentials with permissions to edit the group) and then then your session will be established. You should get output similar to this:
Image showing how to add an alias to a distribution group with Powershell

Hope this helps 🙂

 

Filed Under: Office 365, Scripts & Utilities Tagged With: Office 365, Powershell

Reader Interactions

Comments

  1. Justin says

    September 24, 2013 at 9:47 pm

    Thanks for the help!

  2. Jerry says

    September 26, 2013 at 4:15 pm

    I was not able to get this to work.
    It brings up a warning about the redirection and then just seems to hang.

  3. Paulie says

    September 26, 2013 at 5:12 pm

    Hi Jerry,

    That is weird, can’t think of any reason why it would just hang. Maybe you have got some firewall software blocking your connection, although that does not seem likely to me. Have you tried it from a different computer?

  4. Scott says

    July 18, 2017 at 1:31 pm

    Hello

    Thanks for this, but I got the error ” the current operation is not supported on group mailbox”

    Any ideas, and thanks for the post !

    Cheers

  5. Omar says

    March 9, 2021 at 6:54 pm

    Hello, how would you apply this for multiple DL Groups at once?

Trackbacks

  1. Delete email alias from a distribution group with PowerShell says:
    December 23, 2018 at 12:16 am

    […] You can remove an alias address from a distribution group in Office 365 using PowerShell with the Set-DistributionGroup cmdlet. If you need to add an alias, see this post. […]

Leave a Reply Cancel reply

Primary Sidebar

Link to my LinkedIn Profile
Buy me a coffee

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 245 other subscribers.

Go to mobile version