Now you’ve learned how to create contacts in Active Directory, but it's important to keep them up-to-date as contact details can change over time. Moreover, when a contact object is created via ADUC, only basic details are entered, and attributes related to the contact may need to be updated accordingly.
Additionally, when a contact is no longer needed, it should be removed from the directory to maintain a clean directory.
Follow the steps below in ADUC to update an Active Directory contact.
- Right-click the contact you want to update and select Properties.
- In the General tab, update the Telephone number, Email, Web page, Office name, etc.
- Add the contact's address in the Address tab and office details in the Organization tab.
- Store additional phone numbers under the Telephones tab and click OK to save all changes.
You can also use the Set-ADObject cmdlet as below to update the properties of an Active Directory contact using PowerShell.
Set-ADObject -Identity "<ContactDistinguishedName>" -Replace @{Mail="<NewMailAddress>"; TelephoneNumber="<NewPhoneNumber>"}
Note: This command updates only the mail address and telephone number. To modify other attributes, just add them to the -Replace hashtable of the Set-ADObject cmdlet.
Outdated contact details can create confusion and clutter in Active Directory. When a contact is no longer needed, such as after switching vendors, follow these steps to delete the Active Directory contact.
- Open Active Directory Users and Computers snap-in.
- Right-click the contact you want to remove and choose Delete.
- Click Yes in the confirmation prompt to remove the contact from Active Directory.
You can use the Remove-ADObject cmdlet below to delete a contact in Active Directory with PowerShell.
Remove-ADObject -Identity "<ContactDistinguishedName>"
Stay in control of your AD contacts with AdminDroid—because accuracy and security matter!
- With AdminDroid’s contact reports, like recently created, modified, and deleted contacts, you get complete visibility into every contact change in your organization.
- You can instantly track when a contact is created, modified, or deleted, with details such as the contact name, OU name, office name, mail, telephone number, etc
Handy Tip: If you found something unusual, you can easily remove, edit, or restore the contacts in Active Directory directly from the report with just a few clicks.