Solved

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

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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