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?
LVL 1
dougdogAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

William FulksSystems Analyst & WebmasterCommented:
Yes you can make a CSV and then use powershell to import it - Here's a blog post showing you how to format the CSV and import it - https://www.jonamerica.com/technology/create-100s-of-email-aliases-in-office-365/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Saif ShaikhServer engineer Commented:
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
0
dougdogAuthor Commented:
William
could i just create a csv
what would my columns be
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

William FulksSystems Analyst & WebmasterCommented:
Click the link I sent you and it gives the format. You can skip step 1 if you already have your aliases.
0
dougdogAuthor Commented:
is this what first line should look like and do i just paste in all aliases?

Name, ProxyAddresses,;user@company.com
0
William FulksSystems Analyst & WebmasterCommented:
Here's a better detailed explanation of using a CSV to import into Office 365. The CSV would be formatted as Recipientname, emailaddress, aliasemailaddress

https://o365info.com/adding-email-addresses-using-powershell-import-from-csv-file-bulk-mode-office-365-part-5-13/
0
dougdogAuthor Commented:
perfect
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.