Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Finding Duplicate E-mail (SMTP) Addresses in Exchange

March 15, 2024

Finding Duplicate E-mail (SMTP) Addresses in Exchange

In this article, we will show you how to find duplicate SMTP addresses in your Exchange Server organization. If your organization has non-unique SMTP addresses, Exchange returns an error when sending e-mails to those addresses:

Event ID: 9217
Event Source: MSExchangeTransport
More than one Active Directory object is configured with the recipient address username@woshub.com. Messages to this recipient will be deferred until the configuration is corrected in Active Directory.

More than one Active Directory object is configured with the recipient address. Event ID: 9217

This e-mail message will not be delivered to the recipient.

You may also face a situation when you create a new mailbox in the Exchange Server and get a message that a user with that SMTP address already exists:

The proxy address SMTP:user2@woshub.com is already being used by the proxy address or LegacyExchnageDN. Please choose another proxy address.

The proxy address SMTP is already being used by the proxy address or LegacyExchnageDN

To resolve this error, you need to find the Active Directory objects to which the same SMTP address (alias) has been assigned.

You can use the Active Directory Users and Computers console (aduc.msc) to search for AD objects with a specific SMTP address:

  1. Run the console, go to Find -> Custom Search -> Advanced tab;
  2. Enter the following LDAP query: proxyaddresses=smtp:jsmith@woshub.com (replace the username and domain with your own);
  3. Click Find; Find where a proxy address is used in AD
  4. The console will display all objects that have the proxyaddresses attribute that contains the email address you are looking for. In this example, you can see that different AD objects (user, contact, and Exchange distribution group) can contain the same proxy addresses;
  5. Manually change the value in the proxyaddresses attribute using the Active Directory attribute editor. Set unique SMTP addresses for the objects.

You can also use the Get-ADObject cmdlet from the Active Directory PowerShell module to search for objects in AD:

Get-ADObject -Properties mail, proxyAddresses -Filter {proxyAddresses -eq "smtp:jsmith@woshub.com"}

Because an SMTP address can be assigned not only to a user, contact, or distribution group but also to an Exchange public folder, you sometimes need to use the Exchange Server cmdlets to search for objects that have the same SMTP address:

Get-Recipient -resultsize unlimited | where {$_.EmailAddresses -like "*jsmith@woshub.com*"}

Alternatively, you can export the full list of email addresses in your Exchange organization:

Get-recipient -resultsize unlimited | select Name -expand emailaddresses > C:\PS\Results\all_smtp_adresses.txt

The user email address can be contained in the following attributes: userPrincipalName, mail, proxyAddresses, LegacyExchangeDN, or msRTCSIP-PrimaryUserAddress. One of the tools to search for duplicates and invalid e-mail addresses is the Microsoft IdFix (Directory Synchronization Error Remediation Tool). It allows you to check if your on-premises Active Directory can be synchronized with Azure AD.

Finding duplicate e-mail addresses with Microsoft IdFix

You can use IdFix to quickly find all email objects with non-unique/duplicate SMTP addresses within your domain.

Once that’s done, all you need to do is edit the SMTP alias or UserPrincipalName of one of the found objects.

0 comment
2
Facebook Twitter Google + Pinterest
previous post
How to Disable or Uninstall Internet Explorer (IE) in Windows
next post
Enable Internet Explorer (IE) Compatibility Mode in Microsoft Edge

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Mounting NFS Shares in Windows Using the Built-in Client

    March 26, 2026
  • Monitor Windows Log Files in Real Time with PowerShell

    March 17, 2026
  • Pin and Unpin Apps to Taskbar in Windows 11 via PowerShell

    March 10, 2026
  • Load and Initialize Network Drivers in Windows PE or Recovery Environment

    February 25, 2026
  • How to Set a Custom Drive Icon in Windows

    February 17, 2026
  • Managing Per-User Services in Windows

    February 11, 2026
  • Change Default OU for New Computers and Users in AD

    February 2, 2026
  • Where Windows Stores Certificates and Private Keys

    January 22, 2026
  • How to Extract Printer Drivers from Windows

    January 21, 2026
  • How to Remove Old (Unused) PowerShell Modules

    January 12, 2026

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
    Footer Logo

    @2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


    Back To Top