Deleting SMTP

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
c00kie88Asked:
Who is Participating?
 
Todd NelsonConnect With a Mentor Systems EngineerCommented:
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.
0
 
Todd NelsonSystems EngineerCommented:
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.
0
 
Vasil Michev (MVP)Connect With a Mentor Commented:
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.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
FOXConnect With a Mentor Active Directory/Exchange EngineerCommented:
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.
0
 
Todd NelsonSystems EngineerCommented:
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.
0
 
Todd NelsonSystems EngineerCommented:
Sufficient information has been provided to help the requestor resolve their question.
0
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.

All Courses

From novice to tech pro — start learning today.