Change of users name causing Windows Azure Active Directory Connector Export error

Posted on 2014-08-22
Last Modified: 2014-11-12
We are encountering an issue with a user whose first name recently changed (shortend) in AD and is now causing a sync error in online Dymanics CRM.

The error we are seeing is as follows:

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,;Mail;]. Correct or remove the duplicate values in your local directory.

We can see in Dynamics that both the users username and email address have been updated to the new amended value (although the first name field has not)  but will still see this error being reported.

We have run 'IdFix DirSync' which did not flag any errors for the above account.

Has anyone else encountered this issue before when updating a users name in AD for online Dynamics CRM?

Many thanks

Question by:gfsupport
    LVL 56

    Accepted Solution

    This happens when someone edits an object in an inappropriate way. Dirsync starts with a soft match, but once that is done, a GUID is written in AD and subsequent syncing is done as a hard match using that GUID. This usually means you can edit things safely, but there are instances where someone decides to get 'creative' and they break the object. You'll have to re-create the hard match now. Or delete the account in CRM/Azure AD and let dirsync create a new azure object, which has data-loss potential.

    Simply do a Bing search for dirsync hard match and a TechNet blog should be one of the first results. I'd search and post it myself, but I am mobile at the moment so search and cut/paste isn't easy. Still, the process is relatively painless and finding the blog should be easy

    Author Comment

    Thanks for your help Cliff, I'll give your solution a try and let you know

    Many thanks


    Featured Post

    Free book by J.Peter Bruzzese, Microsoft MVP

    Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

    Join & Write a Comment

    Many companies are making the switch from Microsoft to Google Apps ( Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
    Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
    Viewers will learn the different options available in the Backstage view in Excel 2013.
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    754 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

    23 Experts available now in Live!

    Get 1:1 Help Now