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.

 
 
 
 
 
(0)
3,446 times
Add to favorites
Active Directory
7/29/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • 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 "APEREZ1215@pepsico.onmicrosoft.com" -Path d:\outputs.csv
          + CategoryInfo          : NotSpecified: (:) [Export-OSCADObjectEmailAddress], MethodInvocationException
          + FullyQualifiedErrorId : DotNetMethodException,Export-OSCADObjectEmailAddress
      
      
      
      
      Regards
      Rajesh
      
    • 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.
      http://msdn.microsoft.com/en-us/library/system.directoryservices.protocols.ldapconnection.timeout%28v=vs.110%29.aspx
      
      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 SMTP:john.doe@domain.com;]. Correct or remove the duplicate values in your local directory. Please refer to http://support.microsoft.com/kb/2647098 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
      'john.doe@domain.com'.
      
      What can I do to solve these errors?
      
      Best Regards,
      
      Bart Crommen