{"id":349,"date":"2011-09-01T07:00:30","date_gmt":"2011-09-01T06:00:30","guid":{"rendered":"http:\/\/emtunc.org\/blog\/?p=349"},"modified":"2013-06-15T13:11:49","modified_gmt":"2013-06-15T12:11:49","slug":"add-e-mail-aliases-to-your-office-365-distribution-groups","status":"publish","type":"post","link":"https:\/\/emtunc.org\/blog\/09\/2011\/add-e-mail-aliases-to-your-office-365-distribution-groups\/","title":{"rendered":"Add E-mail Aliases to Your Office 365 Distribution Groups"},"content":{"rendered":"<p>If you&#8217;ve set up distribution groups on Office 365, you will notice a section in the DG &#8216;details&#8217; page titled &#8216;E-Mail Options&#8217;&#8230; under this title is the following text:<br \/>\n&#8220;The group can receive messages sent to the following addresses.&#8221;<\/p>\n<p>From this, you can safely assume that it is possible to add e-mail aliases to the group so that the group can receive e-mails sent to several different e-mails.<br \/>\nSadly, there is no easy way of actually doing this via the UI so it must be done via a PowerShell command&#8230;<\/p>\n<p><!--more--><\/p>\n<ol>\n<li>First make sure you have the remote signed execution policy set to true. You can do this by running PowerShell in admin mode and running: <strong>Set-ExecutionPolicy RemoteSigned<\/strong><\/li>\n<li>Next, run the following to authenticate your self and import PowerShell commands to your local session:<br \/>\n<code>$LiveCred = Get-Credential<br \/>\n$Session = New-PSSession -ConfigurationName Microsoft.Exchange-ConnectionUri https:\/\/ps.outlook.com\/powershell\/ -Credential $LiveCred -Authentication Basic -AllowRedirection<br \/>\nImport-PSSession $Session<\/code><\/li>\n<\/ol>\n<h2>Add an e-mail alias to an existing distribution group<\/h2>\n<ul>\n<li><code>Set-DistributionGroup \"Distribution Group Name Here\" -EmailAddresses SMTP:PrimaryEmail@domain.com,SecondaryEmail@domain.com<\/code><\/li>\n<\/ul>\n<p>Using the above command, you can set any number of aliases for a single distribution group. Simply comma separate the e-mail list and you should be fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve set up distribution groups on Office 365, you will notice a section in the DG &#8216;details&#8217; page titled &#8216;E-Mail Options&#8217;&#8230; under this title is the following text: &#8220;The group can receive messages sent to the following addresses.&#8221; From this, you can safely assume that it is possible to add e-mail aliases to the [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[47,41,44,37,42],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry","category-tech","tag-administration","tag-distribution-groups","tag-exchange","tag-office-365","tag-powershell"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1trTO-5D","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":2,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":912,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions\/912"}],"wp:attachment":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}