Unable to update the specified properties for on-premises mastered Directory Sync objects

AD 21 Reputation points
2022-03-18T11:59:09.84+00:00

Environment:
Hybrid with an older Exchange 2010 server.
AD server 2019 running AZURE AD CONNECT (latest version as of March 2022)
I've been adding new employees by creating a new account in AD and syncing with AZURE. No problems there.
Then I go into the Office 365 portal and assign Office for business licenses. A mailbox is then created and working no problem.
Recently, when using the Exchange Admin online, trying to add an alias to ANY mailbox or simply changing the REPLY to SMTP address, I am getting the error:
Error executing request. An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online. However, it failed. Detailed error message: Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration. DualWrite (Graph) The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.
This was uncovered when a user sent me an email and it came the onmicrosoft.com domain instead of the company domain. When I looked at the account, I tried to change the REPLY TO back to the default company email and got the error also.
Only 3 employees are effected by the "onmicrosoft.com" issue but I cannot add an alias email to ANY mailbox or change the primary email.
About 2/3 of the employees were migrated from the on premise Exchange server about a year ago and the rest created as mentioned above.
Checking the AD CONNECT LOGS, there are no errors at all when syncing and the online dashboards show no sync errors.
I then tried going into the users AD Properties on Premise and changed the PROXY ADDRESS ATTRIBUTE to change the default reply to SMPT:user@keyman .com. That syncs no problem and shows up in the portal as the primary address but when the user sends an email, it still comes from the onmicrosoft.com domain. I'm at a loss without any log errors to point me in the right direction. The syncing from on premise to online seems to be working fine otherwise.
Thank you

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
586 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,357 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,561 questions
{count} votes

11 answers

Sort by: Most helpful
  1. Mandeep Dalvair 0 Reputation points
    2024-03-01T20:54:19.6733333+00:00

    Dual Write Back Error using AD connect for SMTP Proxy addresses

     

    The problem is most of you have forgot to add the smtp: or SMTP: infront of the email address

     

    to fix pls open AD onprem

     

    I not done so already make sure Advanced Features is enabled

    "View" from the file menu > "Advanced Features"

     

    Find the user > right click Properties > Attribute Editor 

     

    Search for "proxyAddresses" in the list > "Edit" add examples:

    SMTP:DefaultReplyEmailaddress@domain.com

    smtp:aliasaddress1@domain.com

    smtp:aliasaddress2@domain.com

    smtp:aliasaddress2@domain.com

     

     

    a new customer of ours had the same issue for many years and this was an easy fix

     

    0 comments No comments