Forum Discussion
Multiple Email Domains in my o365 tenant
Currently we using okta to federate out office365 tenant.
We have our primary email domain as our primary federation domain. (So all users will have that domain as there primary email account)
We want to add a second email domain to that as well as for people receive email from.
We when we point the mx records to to the office365 tenant, I know the primary federated domain will receive email. With the secondary email domain added, how do I alias this domain to each account so I make sure my users will also get email when people send to the secondary domain?
- BenSteginkSteel Contributor
Matt,
Once the second domain has been added (and verified) in your tenant, you can just add aliases to any of your users and select that secondary domain. See image below. If you want to do this in bulk, you can write a PowerShell script to go through all your users and add whatever alias you wish to each user. If you want to insure every new user in your tenant has aliases added as well, you'll either need to make it standard practice to add all the aliases with new users, do some sort of schedule PowerShell script job, or something similar. Unfortunately, Office 365 doesn't let you set any sort of aliases rules (that I'm aware of) in any of the admin centers so that every user gets certain aliases automatically whenever a new users is created.