{"id":8482,"date":"2024-12-21T12:12:52","date_gmt":"2024-12-21T12:12:52","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=8482"},"modified":"2024-12-21T12:12:53","modified_gmt":"2024-12-21T12:12:53","slug":"adconnect-sync-conflicts-with-proxy-address-due-to-onmicrosoft-com-email","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/adconnect-sync-conflicts-with-proxy-address-due-to-onmicrosoft-com-email","title":{"rendered":"ADconnect Sync Conflicts with Proxy Address due to onmicrosoft.com Email"},"content":{"rendered":"\n<p>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 smtp:xxxxxxx@xxxx.onmicrosoft.com;]. Correct or remove the duplicate values in your local directory. Please refer to http:\/\/support.microsoft.com\/kb\/2647098 for more information on identifying objects with duplicate attribute values.<\/p>\n\n\n\n<p>Tracking Id: 959f1a9d-f532-412c-be43-4e8873276255<br>ExtraErrorDetails:<br>\\{&#8220;Key&#8221;:&#8221;AttributeConflictName&#8221;,&#8221;Value&#8221;:[&#8220;ProxyAddresses&#8221;]},{&#8220;Key&#8221;:&#8221;AttributeConflictValues&#8221;,&#8221;Value&#8221;:[&#8220;smtp:xxx@xxxxx.onmicrosoft.com&#8221;]}]<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/12\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"332\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/12\/image-9.png\" alt=\"\" class=\"wp-image-8484 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/12\/image-9.png 815w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/12\/image-9-300x122.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2024\/12\/image-9-768x313.png 768w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/a><\/figure>\n\n\n\n<p>The Microsoft Online Email Routing Address (MOERA) has the format &lt;domain>.onmicrosoft.com and is a specific address for routing emails towards Exchange Online.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.linkedin.com\/redir\/redirect?url=https%3A%2F%2Flearn%2Emicrosoft%2Ecom%2Fen-us%2Ftroubleshoot%2Fazure%2Factive-directory%2Fproxyaddresses-attribute-populate&amp;urlhash=Mv2M&amp;trk=article-ssr-frontend-pulse_little-text-block\" target=\"_blank\" rel=\"noreferrer noopener\">How the proxyAddresses attribute is populated in Azure AD<\/a><\/p>\n\n\n\n<p>&nbsp;Since the MOERA is constructed from the person&#8217;s userPrincipalName (UPN) attribute in Active Directory and is automatically assigned to the cloud account during the initial sync and once created, it cannot be modified or removed in Microsoft 365.<\/p>\n\n\n\n<p>Fix<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Move the user to a non-sync OU in AD and remove it from the sync scope. In case you are using a custom attribute for determination if a user object is synched via Azure AD Connect or not, it is sufficient to remove this attribute and therefor exclude the user from Azure AD Connect sync<\/li>\n\n\n\n<li>Force the delta sync<\/li>\n\n\n\n<li>User is now soft deleted in the cloud. Go to the Azure portal \/ users \/ deleted users and restore the user from here.<\/li>\n\n\n\n<li>User is now a cloud-only object, and you can proceed to the exchange online admin center, in order to manually edit the MOERA.<\/li>\n\n\n\n<li>After you finish editing the email aliases as desired, put the AD user back to the sync scope and force a delta sync.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8482","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=8482"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8482\/revisions"}],"predecessor-version":[{"id":8485,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8482\/revisions\/8485"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=8482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=8482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=8482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}