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.

Pre-change:

Post-change:

Related

Need Expert Help?

See Our Full Menu of Data Services

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

×

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