Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to change Target AD address because it is different then the current profile

Posted on 2013-05-22
4
Medium Priority
?
2,971 Views
Last Modified: 2013-07-22
Right now the our AD profiles for users has the correct e-mail address in them but when you look at the field "Target Address" it is displaying a different e-mail address then the actual users E-mail Address than there profile.   Any way that I can flush the target address to display the correct address that is in the profile?
0
Comment
Question by:sj77
[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
  • 3
4 Comments
 
LVL 10

Expert Comment

by:akhalighi
ID: 39187433
It's not recommended by Microsoft to populate this field on mail-enabled users ; the address that you see there is probably a legacy email address . see this article from Microsoft :

http://support.microsoft.com/kb/275636


Do not set the targetAddress attribute when you create a mailbox-enabled user. This attribute should only accompany mail-enabled objects.
0
 

Author Comment

by:sj77
ID: 39187519
Do you know how I can remove from existing users that attribute?
0
 
LVL 10

Expert Comment

by:akhalighi
ID: 39187768
you should use power-shell ; be extra cautious and take AD backups before doing so.  this article can help you ; try with one specific user first before you deploy to everybody :

http://stackoverflow.com/questions/15807496/adding-and-removing-extensionattribute-to-ad-object
0
 
LVL 10

Accepted Solution

by:
akhalighi earned 2000 total points
ID: 39187781
so basically ; it'd be something like this :

http://dmitrysotnikov.wordpress.com/2007/12/18/removing-ad-attributes/

Set-QADUser "John Smith" -targetAddress $null

check the results and if it's okay ; then use " 

Set-QADUser "anyUser" -targetAddress $null
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

609 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