Exchange Online with Directory Sync Email Address Update Error

IT

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.

Pre-change:

Post-change:

More About the Author

Daniel Holm

Director of Enterprise Solutions
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 →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

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
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

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