Forum Discussion
Farid_Aurnis
Dec 17, 2019Copper Contributor
Migration to O365
Hi, I have issue creating mailbox in hybrid. We have exchange 2013 with root domain as abc.com. Domain xyz.com is added as primary domain in O365 (cant add abc.com as we don't own it. We are a pa...
Farid_Aurnis
Dec 17, 2019Copper Contributor
Hello Vasil,
Thanks for responding!!
But the -PrimarySMTPAddress switch would disable emailaddress policy which inturn clears the Remote routing address.
Thanks for responding!!
But the -PrimarySMTPAddress switch would disable emailaddress policy which inturn clears the Remote routing address.
VasilMichev
Dec 17, 2019MVP
I thought this was the whole idea? You can still adjust the remote routing address with the corresponding switch.
- Farid_AurnisDec 17, 2019Copper ContributorVasilMichev
The user creation in AD is automated. So primary SMTP is generated as Alias@domain.com, and Alias is Firstname.Lastname. If Alias exists a random number is added.
So to automate user creation we were thinking to just add the enable-remotemailbox command after user creation in AD.
Now you mean to say I should use following command:
Set-remotemailbox -identity user@domain.com -PrimarySMTP Address user@domain.com -remoteRoutingAddress Alias@domain.mail.onmicrosoft.com