Solved

Deleting SMTP

Posted on 2016-08-03
8
28 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
  • 4
8 Comments
 
LVL 14

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 14

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 40

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
Does Powershell have you tied up in knots?

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 14

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 14

Expert Comment

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

Featured Post

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

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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 …
This Experts Exchange lesson shows how to use VBA to loop through rows in Excel.  In order to sort, filter, and use database features, there needs to be a value in each column for every row. When data arrives with values missing, code to copy values…

778 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