< All Topics
Print

NDRs received when sending to recipients from GAL  (after AR2.1 install)

A script needs to be run from DC-003 to update the newly created GALSync OU contact objects with the proper x500 addresses    

SOP USED: AR 2.1 Microsoft Identity Manager (MIM) Implementation Guide.docx, Page 6

$users= Get-ADObject -filter {-not (legacyExchangeDN -like “*”)} -searchbase “OU=GALSync,DC=SHIPNAME,DC=navy,DC=mil” -Properties *

foreach($user in $users){write-host $user.cn

$firstStringPart = “/o=SHIPNAME/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=”

$secondStringPart = $user.cn

$fullLegacyString = $firstStringPart + $secondStringPart

$fullProxyString = “X500:$fullLegacyString”

set-adobject -identity $user -add @{ProxyAddresses=$fullProxyString}

set-adobject -Identity $user -replace @{legacyExchangeDn=$fullLegacyString}

}

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents