Solved

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

Posted on 2013-05-22
4
2,282 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
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now