logo
search
Exchange Connection Problems

Fix Disabled Active Directory Users Appearing as Exchange Contacts

Maira MehtabMaira Mehtab Oct 12, 2026 869 views

Question details

Users who are disabled in Active Directory are incorrectly showing up as mail contacts in Exchange Online following a mailbox conversion and directory synchronization.

Fix Disabled Active Directory Users Appearing as Exchange Contacts
Product
Active Directory / Exchange Online
Device & OS
not provided
Scenario
Converting user mailboxes to shared mailboxes and synchronizing on-premises Active Directory with Azure AD.
Observed behavior
Disabled Active Directory user accounts appear as mail contacts rather than the expected shared mailboxes in the Exchange Online directory.
Before you start

Ensure you have administrative access to your on-premises domain controller to use ADSI Edit, and the necessary permissions to force a delta synchronization on your Azure AD Connect server.

Solution 1Recommended

Clear the targetAddress Attribute and Force Synchronization

This solution removes the unwanted routing address that forces the user object to be recognized as a mail contact rather than a shared mailbox in Exchange Online.

When an on-premises Active Directory user is converted and disabled, lingering attributes can confuse the synchronization process. The targetAddress attribute dictates external routing; when populated, Exchange Online assumes the object is a contact. Clearing this attribute allows the system to properly recognize the user as a shared mailbox.

1
Open ADSI Edit

Log in to your domain controller, open the Run dialog, type 'adsiedit.msc', and press Enter. Connect to the Default naming context.

2
Locate the affected user object

Navigate through your Organizational Units (OUs) to find the disabled user account that is appearing as a contact. Right-click the user object and select 'Properties'.

3
Verify and clear attributes

Scroll through the Attribute Editor to verify the 'MSExchMailboxGUID' attribute is intact. Next, find the 'targetAddress' attribute, select it, click 'Edit', and clear the value. Click 'OK' to save your changes.

4
Run a delta synchronization

Open an elevated PowerShell prompt on your Azure AD Connect server and execute the command: 'Start-ADSyncSyncCycle -PolicyType Delta'. Wait a few minutes for the changes to replicate to Exchange Online.

Clear the targetAddress Attribute and Force Synchronization
Synchronization Complete: Once the delta sync finishes, the existing contacts will no longer appear in your contact list, and the accounts should correctly display as shared mailboxes.
Free Microsoft Office alternative

Looking for a lightweight alternative for your daily office tasks?

While managing Exchange and Active Directory requires specialized Microsoft administrative tools, your daily document management doesn't have to be tied to expensive subscriptions. WPS Office provides a free, lightweight, and highly compatible alternative for handling Word, Excel, and PowerPoint files.

  1. 1. Download the software: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen instructions to complete the quick installation process.
  3. 3. Open your documents: Launch WPS Office and open your existing Microsoft Office documents with perfect layout retention.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight installation that runs smoothly across Windows, Mac, and Linux.Familiar tabbed user interface, ensuring a seamless migration for your team.Built-in PDF editing and document collaboration features.
microsoft office alternative - wps office

Frequently Asked Questions

Why does a disabled AD user convert into a mail contact instead of a shared mailbox?

This typically happens when the 'targetAddress' attribute is populated in the on-premises Active Directory. Azure AD Connect syncs this attribute, causing Exchange Online to interpret the object as a mail-enabled contact with an external routing address rather than an internal shared mailbox.

How long does it take for the delta sync to reflect changes in Exchange Online?

After triggering a delta sync via PowerShell, it generally takes between 5 to 30 minutes for the directory changes to propagate to Azure AD and reflect in the Exchange Online admin center.

Can I use the Exchange Admin Center instead of ADSI Edit to fix this?

If your environment is synchronized via Azure AD Connect from an on-premises Active Directory, object attributes like 'targetAddress' are locked in the cloud. They must be managed from the on-premises AD using tools like ADSI Edit or Active Directory Users and Computers (ADUC).