Adding SMTPaddresses to the existing Exchange Online mailbox Users

 Hello All

Today am going to share my experience or many of us  may be faced this kind of experience before due business needs. yes that is  Bulk Add SMTP Addresses to Office 365 Mailbox Users - Exchange Online users.



Recently i have purchased a new domain from go-daddy and i would like change all my primary SMTP address pointing to the newly purchased  domain from go-daddy.

It may be an easy task if we have exchange onprem environment or hybrid through email address policy  

however the email address policy is not available in pure cloud identity environment, that's exchange online mailbox users

While upon searching it on google, i have found this article from great author / blogger  

https://practical365.com/add-smtpaddresses-ps1-bulk-add-smtp-addresses-to-office-365-mailbox-users/

Definitely you will get lot of information's from the above link, like how to run , what are the options, when and where to be run  

With help of the above link. i have downloaded the script and ran the below command 


This will add the new alias@craftnet.in as a primary email address to all mailboxes.





The log file records the existing email addresses for the mailboxes, the email address that is being added, and then the full set of email addresses being committed to the mailbox (or not, if the -Commit switch wasn’t specified).

Script URL 

https://github.com/cunninghamp/Add-SMTPAddresses.ps1

Happy Learning 🙂 

Comments