Forum Discussion
Enable AD Connect sync with existing Office 365 accounts and mailbox
Hi,
Thank you for your answer. Ok but now the migration is already started, and I must wait till it's finished to perform any change in Office 365.
So I can prepare the local AD accounts for the moment. For the SMTP matching, is it enough to fill the E-mail filed in the General tab of a user properties (Attribute : mail) ? Or do I have to set the "ProxyAddresses" attribute ?
For the moment there is no Exchange server present, all e-mails was on an external Zimbra server.
So for mailboxes management, it's recommended to have an hybrid Exchange. Regarding our situation, when the Exchange server must be installed and when the hybrid configuration should be run ?
And how mailbox attributes present on Exchange Online will be be imported to local ?
Thank you
After the migration is completed, you should change users' UPNs to match those in on prem AD. I'm assuming that the login name in on prem AD is same than email address. After that, you can run the AAD Connect to synchronize your users (and connect the existing Office 365 users to AD users).
For the SMTP match, mail attribute works fine unless there is something in capital in ProxyAddresses attribute (such as SMTP:something@else.com).
You do not need Exchange in your scenario, you can manage users (and mailboxes) in on prem AD. However, to add aliases etc., you need to populate ProxyAddresses attribute.
After you configure AAD connect, all attributes are synced from on prem to AAD. It will sync back to AD only mailbox archive guids.
- Julien SchneiderJul 24, 2018Brass Contributor
Hi Nestori,
Thank you for your answer. the problem is that the login name dosen't match the mail address. In this case, do I have to set the UPN as the mail domain ?
The SMTP match should be okay, the mail attribute is set and the proxyAddresses is empty.
In the case, where I want a local Exchange to migrate user mailbox to shared, or other things, is it easy to install ?
Regards
- Jul 24, 2018
Hi Julien,
It doesn't matter what the UPN is, as long as it matches the user's login name. Or are you saying that your on-premises UPN is not an email address, i.e. username@domain.local? If so, when configuring Azure AD connect, just select to use mail attribute for UPN and you should be fine.
You do not need Exchange to convert users to shared mailboxes, you can do that in Office 365 too. Last time I installed an Exchange server from scratch, it took 10 hours or so. How difficult it is, depends on your current environment etc.
- dan_jjjjAug 11, 2020Copper Contributor
When I try this, I get an AttributeValueMustBeUnique error when it tries to syncronize for the new user since the UserPrincipalName is not unique. I followed the guide on this page...
https://support.microsoft.com/en-us/help/2641663/use-smtp-matching-to-match-on-premises-user-accounts-to-office-365
Do you know how to get around this?
p.s. Sorry for posting on an old thread. It was one of only a few that I could find that directly discusses AD Connect to an existing 365 company.
Thanks