Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error 012 when you run the Windows Azure Active Directory Sync tool


View products that this article applies to.

Problem

When you run the Windows Azure Active Directory Sync tool in your organizational account such as Office 365, Windows Azure, or Windows Intune, you get the following error message in an email message that's sent by MSOnlineServicesTeam@MicrosoftOnline.com:
Error 012: Unable to update this object in Microsoft Online Services because the proxy address associated with this object in the local Active Directory is already associated with another object. Fix this in your local Active Directory.

↑ Back to the top


Cause

This issue occurs if one or more of the following conditions are true:
  • An object in the on-premises Active Directory has an SMTP address that's the same as the SMTP address of the object that's reporting the problem.
  • An object in the on-premises Active Directory has a mail attribute that's identical to the object that's reporting the problem.
  • An object already exists in your organizational account and has the same SMTP address or mail attribute as the object in the on-premises Active Directory.

↑ Back to the top


Solution

To resolve this issue, use one of the following methods:

Method 1: Locate the object in the on-premises Active Directory


To locate on-premises Active Directory objects that use an SMTP address or mail attribute that's identical to the object that's reporting the problem, run an LDAP query in the on-premises Active Directory.

For example, if the problem proxy addresses is jsmith@contoso.com, the LDAP query will resemble the following:
(|(proxyAddresses=smtp:JSmith@contoso.com)(mail=JSmith@contoso.com))
This LDAP query looks for all objects in Active Directory that have a proxy address or mail attribute value that contains JSmith@contoso.com.

You can use a tool such as Active Directory Users and Computers to run an LDAP query. For more info about how to use such a tool, go to the following Microsoft TechNet website: If multiple results are returned, you can resolve the results so that only one object has the proxy address and mail attribute with the problem email address.

Method 2: Locate the object in Windows Azure AD

If the object already exists in Windows Azure AD and has the same SMTP address or mail attribute as the object in the on-premises Active Directory, you can locate and then remove the conflicting object or email address from your organizational account.

↑ Back to the top


More information

By default, directory synchronization runs every 3 hours. To minimize the effect of the suggested fix on the affected user, you can force directory synchronization to run immediately. For more info about how to do this, go the following Microsoft website:

↑ Back to the top


Still need help? Go to the Office 365 Community website or the Windows Azure Active Directory Forums website.

↑ Back to the top


Keywords: o365a, o365e, o365062011, pre-upgrade, o365m, o365022013, after, upgrade, o365, KB2520976

↑ Back to the top

Article Info
Article ID : 2520976
Revision : 22
Created on : 10/31/2013
Published on : 10/31/2013
Exists online : False
Views : 413