Fix Duplicate Email Addresses for On-premises Mail-Enabled Objects

This script can fix duplicate email addresses for mail-enabled objects. This script allows you to export mail-enabled objects that duplicate email addresses. After you correct the email addresses for these groups, you can use this script to import them to the Active Directory.

3,589 times
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
  • Error
    2 Posts | Last post February 20, 2014
    • Export-OSCADObjectEmailAddress : Exception calling "SendRequest" with "1" argument(s): "The operation was aborted because the
      client side timeout limit was exceeded. "
      At line:1 char:31
      + Export-OSCADObjectEmailAddress <<<<  -EmailAddress "" -Path d:\outputs.csv
          + CategoryInfo          : NotSpecified: (:) [Export-OSCADObjectEmailAddress], MethodInvocationException
          + FullyQualifiedErrorId : DotNetMethodException,Export-OSCADObjectEmailAddress
    • Hello,
      Based on the error message, you may adjust the script to increase the timeout value. You can refer to following page about the details.
      Before modifying the script, you may run the script outside the peak hours. Timeout usually means the server is too busy or slow network.
      Best Regards,
      Microsoft All-In-One Script Framework
  • Scipt doesn't work
    1 Posts | Last post August 29, 2013
    • I ran the script to identify duplicate proxyaddresses and it tells me that there are no duplicates.  Now what?
  • Cannot find objects with duplicate email address
    1 Posts | Last post June 27, 2013
    • Hi,
      I'm receiving this message in the Direcory Synchronization Report Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses;]. Correct or remove the duplicate values in your local directory. Please refer to for more information on identifying objects with duplicate attribute values.
      When I run the script in powershell it tells me 
      WARNING: Cannot find objects with
      What can I do to solve these errors?
      Best Regards,
      Bart Crommen