Solved

Deleting SMTP

Posted on 2016-08-03
8
33 Views
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
0
Comment
Question by:c00kie88
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
8 Comments
 
LVL 16

Accepted Solution

by:
Todd Nelson earned 225 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.
0
 
LVL 16

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.
0
 
LVL 42

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 225 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.
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

 
LVL 16

Assisted Solution

by:FOX
FOX earned 50 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.
0
 
LVL 16

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.
0
 
LVL 16

Expert Comment

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

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
Microsoft is moving in-place eDiscovery & hold from ECP to EOP console under Content Search in Search and Investigation Options.  In this post, I will be showing you how to export emails to a PST file using the Content Search Options.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 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