4

I am trying to create a new distribution list using exchange server commands given in Creating new distribution list command.

When I enter a duplicate alias name it is allows me to create the new distribution list.

While when I try to create the distribution list from the Exchange Server UI in Office 365 then it gives me an error if I enter the duplicate Alias name.

I want to know how I can achieve the same functionality using commands also.

Update

I am using following command

New-DistributionGroup Name 'Distribution-List-Name' Alias 'Alias-Name' ErrorAction 'Stop'

Thanks in Advance.

user5870571
  • 2,900
  • 2
  • 11
  • 33

1 Answers1

0

Aakash Morya,

Have you tried this syntax?

New-DistributionGroup -Name <DL name> -DisplayName <DL display name> -Alias <Alias> -PrimarySmtpAddress <Email Address>

http://o365info.com/manage-distribution-groups-by-using/#SUB-1

To do this from Office 365, you go to Exchange Administration and go to Recipients, Click the Groups, Click the plus sign, Click Distribution group, Enter a Display name, Enter an Alias, Enter a Name, Select the owner, Select the members, Click Save.

http://office365support.ca/creating-a-distribution-group-exchange-online/

user5870571
  • 2,900
  • 2
  • 11
  • 33