?
Solved

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

Posted on 2013-05-22
4
Medium Priority
?
2,795 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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 …
Suggested Courses

777 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