Forum Discussion
Jim Sepanik
Jul 12, 2018Copper Contributor
Bad Alias Address in Federated User's ProxyAddresses
We are using ADFS to create Office 365 accounts and for authentication. When a user is created, 2 aliases are created. One with @tenant.onmicrosoft.com and @tenant.mail.onmicrosoft.com. These are the...
VasilMichev
Jul 12, 2018MVP
There is a "workaround" that allows you to play with the aliases of a synced user, to an extent. Namely, you can use the following:
Set-Mailbox user@domain.com -WindowsEmailAddress newuser@domain.com
This will set newuser@domain.com as the primary SMTP, while preserving user@domain.com as secondary. There is no way to remove any aliases though, unless you disable DirSync. Well, there is, but you will not like it - you need to make the user a "disconnector", by deleting it and the recovering from the Office 365 recycle bin. Not supported in any way :)