Forum Discussion
malone81
Nov 04, 2020Copper Contributor
Adding email alias in Exchange Online no longer works and throws out the below error
Hi, I had to disable AAD Connect recently and when I got everything back up and running, I received the below error when adding and alias and this is happening for every account I have tried. ...
VasilMichev
Nov 04, 2020MVP
If you have dirsync enabled, you cannot make such changes directly in ExO. Your on-premises AD is the "master" and O365 admin interfaces will always throw a similar error.
The only workaround for this scenario is to use the -WindowsEmailAddress parameter:
Set-Mailbox user@domain.com -WindowsEmailAddress new@domain.com
which will set new@domain.com as the new primary SMTP address, while keeping the old one as secondary. This still does not guarantee that the change will not be overwritten during the next full sync cycle, moreover it's not an officially supported mehtod.
malone81
Nov 04, 2020Copper Contributor