Exchange Online with Directory Sync Email Address Update Error


Exchange Online with Directory Sync Email Address Update Error


So, you’ve got an Exchange Online setup working with Active Directory synchronization, possibly an Exchange Hybrid setup going mid-migration, you now need to adjust alternate email addresses for a user who has a mailbox hosted with Exchange Online, and you receive this error message:

“The operation on mailbox failed “John Smith” because it’s out of the current user’s write scope. The action ‘Set-Mailbox’, ‘EmailAddresses’, can’t be performed on the object John Smith because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.”

There are several solutions to this, but the easiest and most ready-to-go is to modify the attribute “proxyAddresses” within Active Directory Users & Computers. Follow these simple steps:

  • Open up Active Directory Users and Computers
  • Click “View,” making sure “Advanced Features” is checked
  • Locate the user and pull up their properties
  • Go to the “Attribute Editor” tab
  • Click “Filter” and “Show only attributes that have values” (not required, but recommended)
  • Locate the attribute “proxyAddresses” and click “Edit”
  • Make adjustments to the addresses in the form of smtp: and SMTP: and ensure you just leave one primary email address
  • Click “OK” to save the editor changes and “OK” again to save the user. Exercise caution to only change this attribute, and that you get the syntax correct for each entry.

The changes will apply during the next scheduled sync. Alternatively, you can start it manually by running the command “Start-OnlineCoexistenceSync” from the DirSyncConfigShell.



KeepWatch by InterWorks

Whether you need support for one platform or many, our technical experts have you covered.

More About the Author

Daniel Holm

Chief Architect, IT Services
Quick Q&A: Why We Like Dell-EMC for Just About Everything IT In this edition of “Quick Q&A,” we talk about Dell-EMC with InterWorks Director of Enterprise Solutions Daniel Holm, IT ...
Testing the Beta NVIDIA RTX Audio Driver NVIDIA is always pushing the limit of what their video cards can do. However, they have now started to use the AI abilities they ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK


Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Geschäftsführer: Mel Stephenson

Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072


Love our blog? You should see our emails. Sign up for our newsletter!