Fix subdomain in Add-SPProfileSyncConnection

Jul 27, 2011 at 10:43 AM

instead of #$ConnectionSyncOU = "DC=$Domain,DC=$TLD"

must use
$ConnectionSyncOU = "DC="+$env:USERDNSDOMAIN -replace "\.",",DC="

Coordinator
Jul 27, 2011 at 1:54 PM

I just ran into this problem yesterday myself (had previously only tested on environment without subdomain). Brilliant fix, thanks!

Brian