DirSync not working after doing a cutover migration to Office 365 from SBS 2008

Posted on 2014-08-17
Last Modified: 2014-08-17
I have migrated a SBS 2008/Exchange 2007 on premises setup to Office 365. The migration was smooth with no issues. After migration, I changed DNS records to reflect Office 365. That is also working perfectly. Now my problem is with using DirSync to sync our local AD with Office 365. After enabling this, I get this error emailed to me for every user that was migrated:

Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses;]. Correct or remove the duplicate values in your local directory. Please refer to for more information on identifying objects with duplicate attribute values.

I have found several things that *might* fix the issue, but I'm not sure where to go from here.

Here's what I tried:

1. Running IdFix as suggested in the link from the error.

IdFix tells me the users and groups have the error "topleveldomain" but does not give a suggested fix.

2. Performing these steps: Article Link

Step 2 resulted in errors during the 2nd script which did not create MEU, but still deleted the mailboxes (which I have since restored). Not sure if I did something wrong or this isn't what I need to do anyway.

Can someone help point me in the right direction to fix this issue. The main thing I am trying to accomplish is to have our AD sync with O365 for user maintenance and also for password sync. Any help would be greatly appreciated!!

Question by:MrComputerIT
    LVL 37

    Accepted Solution

    Try this for one of the affected users:

    - Locate the cloud mailbox
    - Check the value of the primary SMTP address
    - Update the on-prem object that you want 'linked' to the cloud mailbox with the same value for the primary SMTP

    More info here:

    One last step might be needed, please be careful if you decide to execute this. IF and only if the on-prem object has already been synced to the cloud, you will need to remove it in order to trigger the soft-matching process. Make sure that there is no mailbox associated with the synced account, no other licenses applied or any other possibility to cause data loss for the user in question. You will need to remove it from the cloud recycle bin as well. After the synced object has been removed, dirsync will again try to sync it to the cloud, but this time will soft-match it to the mailbox with the same primary SMTP.

    Author Comment

    Oh my! The email addresses in the AD are wrong!! I never caught that. The actual email addresses are "" but in AD in the "General" tab they are "" Has that been my problem all along??

    Author Comment

    It still isn't working. I still get the same errors.

    Author Comment

    I did a DirSync before and deleted the mailboxes. Turns out it still finds them. I purged them and now it works. I also still had to fix the UPN to get rid of our .local domain. Thanks for your help!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
    The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now