Deleting SMTP

Posted on 2016-08-03
Medium Priority
Last Modified: 2016-10-08
Hi all,

I have created an AD account (Bobt James) + exchange mailbox (SBS 2011) with incorrect Firstname. I have updated and it has shown correct first name (Bob James)

Recently we have migrated our exchange to office365 and uses Dirsyc to sync our AD account when we do the initial setup.

When i go to O365 admin console, find Bob James it shows email address alias Bobt.James@XXus.onmicrosoft.com

When i go to Exchange Admin Center and find Bob james > edit properties > email address > i can see there is SMTP: Bobt.James@XXXus.onmicrosoft.com and i'm unable to delete it since the object syncs from on premises organization.

How do i delete this? I go to Attribute editor for this AD user using ADSIEdit, i could not find any entries.  Where else can i find it?

Thank you
Question by:c00kie88
  • 4
LVL 19

Accepted Solution

Todd Nelson earned 900 total points (awarded by participants)
ID: 41741595
Since you are syncing your AD accounts from on-premises to O365, your source of authority is AD.  That is why you cannot make changes in the O365 admin center.  You will need to make the changes in your Exchange server or in AD directly.

1) To make the change in Exchange (supposing Exchange 2010), open the Exchange Management Console, select Recipient Configuration, open the properties of the affected user mailbox, select the E-Mail Addresses tab, highlight the incorrect email address and edit it.  If it's the only email address for that user and "automatically update based on email address policy" is enabled then you won't be able to make the change unless you disable that option.  However, my guess is that the alias is incorrect. If it is wrong, correct it and a new email address should automatically be added to the mailbox.

2) Only do this if you do not have Exchange on premise...
To make the change(s) in AD, open ADUC, enable Advanced Features under View menu, open the properties of the affected user, select the Attribute Editor tab, locate the proxyAddresses attribute and click edit.

FYI ... "SMTP:" represents the default reply address. "smtp:" represents secondary (proxy) addresses.

Finally, after the change has been made, you will need to either wait for the directory sync to occur or manually force a sync to O365.  The address should be fine after that.
LVL 19

Expert Comment

by:Todd Nelson
ID: 41741597
Also, you can take a look at the User Logon Name under the Account tab of the user account properties in AD to see if the username was mistyped.
LVL 46

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 900 total points (awarded by participants)
ID: 41741742
If it's only the primary SMTP address you want to change, you can also do it directly in the cloud. Connect to EO PowerShell and run this cmdlet:

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

Open in new window

This will add new@domain.com as the primary SMTP while preserving user@domain.com as secondary. It will work regardless of whether the user is synced.

But in general such changes should be done on-prem, as Todd noted above.
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

LVL 17

Assisted Solution

FOX earned 200 total points (awarded by participants)
ID: 41742537
When i go to Exchange Admin Center and find Bob james > edit properties > email address > i can see there is SMTP: Bobt.James@XXXus.onmicrosoft.com and i'm unable to delete it since the object syncs from on premises organization.<<<<You do not want to delete this address as this is the smtp address for O365.  Make sure there is an smtp entry for his "preferred" email address and set that as his reply address.  Set the smtp in your on premise environment and it will sync with o365.
LVL 19

Expert Comment

by:Todd Nelson
ID: 41826379
There is enough valid information to provide a resolution for the requestor.  Award split points appropriately as done with other questions that have not been confirmed by the requestor.
LVL 19

Expert Comment

by:Todd Nelson
ID: 41834850
Sufficient information has been provided to help the requestor resolve their question.

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Are you in the migration process of your Exchange to Exchange Online? Be aware of customized solutions developed on the transport role on your old Exchange server. They might not be convertible to Exchange Online!
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

619 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