Link to home
Start Free TrialLog in
Avatar of dougdog
dougdog

asked on

add 180 aliases to 1 365 mailbox

add 180 aliases to 1 365 mailbox
i have 1 mailbox in o365 exchange online
i need to add 180 aliases to this 1 mailbox
i dont want to have to add each one manually
is there anyway i can add all aliases to a csv file and import?
ASKER CERTIFIED SOLUTION
Avatar of William Fulks
William Fulks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

You can connect to O365 powershell with the tenant global admin credentials and run command:

Set-Mailbox mailboxname -EmailAddresses @{Add='alias@somedomain.co.uk'}  (This command is manual command)

We also have a powershell script:

Please download the script for the same from link: https://gallery.technet.microsoft.com/office/Over-200-aliases-da06ad0b

Put all the names/addresses in a list and paste it in to Excel. Then concatenate the rest of the text on to each line using copy and paste. Save it as a test file with alias_addresses.txt

From power shell with admin right you need to run below command:

E.g.:
# .\Over_200_Aliases.ps1 -O365Admin admin@xxxxxx.onmicrosoft.com -O365AdminPassword Password123 -Mailbox_Name mailbox1 -Mail_Addresses_File_Path "C:\Temp\ExoVoice\alias_addresses.txt"

Where
# O365Admin - Administrator login ID
# O365AdminPassword - Administrator login password
# Mailbox_Name - mailbox with more than 200 aliases
# Mail_Addresses_File_Path - the pathe where the file with initial addresses list is saved e.g. email_addresses.txt
Avatar of dougdog
dougdog

ASKER

William
could i just create a csv
what would my columns be
Click the link I sent you and it gives the format. You can skip step 1 if you already have your aliases.
Avatar of dougdog

ASKER

is this what first line should look like and do i just paste in all aliases?

Name, ProxyAddresses,;user@company.com
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dougdog

ASKER

perfect