Oct 15 2019
- last edited on
Jan 14 2022
We setup our users in AD. Set their email and upn to match - email@example.com
We also set the proxy Address attribute to SMTP:firstname.lastname@example.org
This creates the user. syncs to Azure and all looks good. Primary email is correct.
However after a few days, it looks like something in the sync triggers which wipes the SMTP attribute in proxyaddress and their primary email address changes to email@example.com
I'm not sure why this is happening. We can correct it with proxyAddress attribute and it fixes it. I'm just not sure why it's happening?
Oct 15 2019 09:31 AM
And what's the value of the on-premises proxyAddresses attribute when that happens? Looks to me like you have some sort of external system dumping data in AD and overwriting it, probably an HR system or some IAM solution?
Oct 29 2019 03:39 AM
@David Gorman if you are syncing to Azure AD using AD connect, it is not supported to manually edit Exchange related AD attributes. Exchange using a number of attributes, not just proxyaddresses, and none of these will be set correctly if you are doing i like that. Manually setting the proxy address is also prone to error especially if adding aliases.
That said, what you are doing should work, and many people do it this way. There is long running debate, but you should know this is not a supported configuration by Microsoft.
You should set up at least one Exchange server on prem in order to create remote mailboxes correctly.
For Office 365 plans you get a free Exchange Server Hybrid Key: http://aka.ms/hybridkey