Today, I have experienced a problem during GAL Sync between an Exchange 2003 and an Exchange 2010 SP1 with Forefront IM 2010
The goal of the GAL Sync is to provision some MailUsers in a resources Forest. MailUsers are linked to user accounts in an accounts Forest.
Below is the synchronisation schema.
In order to create the MailUser, I use this ExchangeUtils commands :
csentry = ExchangeUtils.CreateMailbox(myMailADMA, dn, mailNickname, homeMDB)
then set a targetaddress and add the original ObjectSid as a msExchMasterAccountSid (to link the mailbox). In the end, I have got a “LinkedMailUser”.
Before the SP1 of Exchange, I was able to launch a move request :
New-MoveRequest -identity mailuser@ex2k3exchangeForest.lan -RemoteLegacy -RemoteGlobalCatalog remoteEx2k3GC -RemoteCredential $UserCred -TargetDeliveryDomain resourceForest.lan
But after Exchange 2010 SP1, the same cmd is in error with the following message :
-> Target User ‘xxxxxxxxxxxxxxxx’ already has a primary mailbox.
The problem comes from the HomeMDB attribute. With Exchange 2010 SP1, this attribute must be empty during the New-MoveRequest.
Another solution is to use ExchangeUtils.CreateMailEnabledUser, but that’s an other point : it’s easier for me to use CreateMailbox
Published by Olivier DETILLEUX