How to Add SMTP Email Alias and Set as Primary SMTP Address in Exchange Online Using PowerShell December 2, 2021 by Matt Moore Follow this simple PowerShell script to quickly bulk add a new email alias and set to primary SMTP address for all users in Exchange Online.