Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


May 29, 2002

Solving a Mailbox Migration Problem

RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

During a recent group mailbox migration from Exchange Server 5.5 to Exchange 2000 Server, my team encountered an unusual error. A mailbox failed to move, and Exchange System Manager (ESM) indicated that it couldn't process the move. The following series of errors appeared in the event log:

  • event ID 1008—Unable to move mailbox mailbox_name.
  • event ID 9169—Failed to copy basic mailbox information.
  • event ID 9536—An ambiguous Mailbox Guid 2d28d01b-3eae-4ef7-bca7-4a1b95160caa was found on 0x2 mailboxes in the DS. The store cannot map this Mailbox Guid to a unique user.

The third error pointed us to the problem. Apparently, two Active Directory (AD) user accounts had the same msExchMailboxGuid attribute, which defines the user's mailbox globally unique identifier (GUID)—a value that the Exchange 5.5 Directory Store (DS) defines in a user's Mailbox Guid attribute. As a result, ESM couldn't determine which mailbox to move.

To correct the situation so that we could move the mailbox, we needed first to determine which user accounts were involved and which one had the wrong GUID, then to remove that value and assign the correct value. To find the accounts, we needed to search AD for the problematic GUID.

The Microsoft article "XADM: How to Map an msExchMailboxGuid Attribute to a User in Active Directory Users and Computers" (http://support.microsoft.com/default.aspx?scid=kb;en-us;q291542) contains some information about this process, but not enough. AD doesn't store the GUID in the format that event ID 9536 uses, so searching for the value that the event log shows doesn't result in any matches. To obtain the value in its searchable form, you need to open the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in, then select View, Advanced Features from the menu bar. Select Action, Find and search for the mailbox name specified in event ID 1008 to find the corresponding user account object. Open the object's Properties dialog box and go to the Object tab. Note the full directory path to the account object. Open the MMC ADSI Edit snap-in and navigate to the user account. Select the account's msExchMailboxGuid attribute, then copy that value into a text editor such as Notepad. The value appears in the editor as 16 hexadecimal digits, preceded by the 0x hex identifier and separated by spaces. To use this value in your search, you need to separate the digits with backslashes (\) and remove the spaces. You can use Notepad's Search, Replace feature to replace all occurrences of "0x" with "\", then replace all spaces with no value. You end up with a text string similar to \1b\d0\28\2d\ae\3e\f7\4e\bc\a7\4a\1b\95\16\0c\aa. You then can use this string to search AD, as the Microsoft article explains. The results reveal all AD user objects that have the specified msExchMailboxGuid attribute.

To determine which object should not be using the conflicting GUID, you need to examine the Mailbox Guid of the users' corresponding Exchange 5.5 DS entries. A user account's AD msExchMailboxGuid attribute value should match the account's corresponding Exchange 5.5 Mailbox Guid value. (If the Active Directory Connector—ADC—created the AD user object, the AD objectGuid attribute also shares this value.) To view the Exchange 5.5 Mailbox Guid values, launch Microsoft Exchange Administrator in raw mode to determine the mailboxes' raw properties. The Mailbox Guid will be a string of 16 hex digits with no delimiters. For each account in conflict, compare the Mailbox Guid value with the msExchMailboxGuid attribute to reveal which mailbox has the correct GUID.

To fix the problem, use the ADSI Edit snap-in to clear the msExchMailboxGuid attribute of the AD user object that shouldn't use the GUID in question. Let this edit replicate to the domain controller (DC) that receives Exchange 5.5 directory updates from the ADC connection agreement (CA) for the problematic mailbox. Finally, update any property on the Exchange 5.5 directory object to force the ADC to replicate the object to AD again. The ADC will populate the msExchMailboxGuid value with the correct value from the Exchange 5.5 directory Mailbox Guid attribute.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Active Directory (AD) Whitepapers Meeting Compliance Objectives in SharePoint

Email Controls and Regulatory Compliance

Related Events WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks The Essentials Series: Active Directory 2008 Operations

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement