Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Deleting SMTP

Posted on 2016-08-03
8
Medium Priority
?
35 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 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.
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 43

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.
0
Office 365 Training for Admins - 7 Day Trial

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.

 
LVL 16

Assisted Solution

by:FOX
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.
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

704 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