Solved

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

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

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

Question has a verified solution.

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

Suggested Solutions

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

732 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