Solved

After Recent AD Sync to Azure, Cannot Manage Exchange Online Accounts

Posted on 2016-07-22
2
352 Views
Last Modified: 2016-07-25
We just recently sync'ed our AD domain with Exchange Online. Our Exchange had been migrated over a year ago and we have no on-premise Exchange any longer. In the portal, I tried to set a primary SMTP address, and received this error:

The operation on mailbox "John Smith" failed 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.

Our DC's Windows Powershell doesn't support that command. I'd have been surprised if it did.

This is probably relevant- we performed the Sync by changing UPN's on user accounts. The sync works like a charm. But we need to be able to manage accounts.
0
Comment
Question by:jconklin-ansinc-net
2 Comments
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 41725570
That's the whole idea of the sync - you transfer the source of authority to you on-prem AD and any changes in objects and their attributes should be done on-prem. That's also the reason why the only supported configuration is by having an Exchange server on-prem. If you dont have such server, you can still edit the attributes via ADUC/ADSI Edit/PowerShell, however you will be in unsupported scenario.

If you're only concerned about the primary SMTP address, there's a workaround. You can use the following cmdlet to change it directly in the cloud:

Set-Mailbox user@domain.com -WindowsEmailAddress new@domain.com

Open in new window


This cmdlet will add new@domain.com as the primary SMTP, while preserving user@domain.com as a secondary alias. It will work regardless of the object's sync status.
0
 

Author Closing Comment

by:jconklin-ansinc-net
ID: 41727583
The Powershell command worked. Thanks!
0

Featured Post

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question