Friday 15 March 2013

Exchange Migration - Correcting IMAP folders

Following a legacy migration from an old email server I found that users had difficulty with particular folders that were migrated over displaying their correct contents in Outlook. If the user opened the folder in OWA they had no issue.

The cause of this behaviour is due to the folder type being set as an IMAP folder in Exchange. To correct this issue simply follow the below procedure (as always after making the required backups):

Download and Install ExFolders:
  1. Confirm you are running at least SP1 for Exchange 2010
  2. Download ExFolders for Exchange 2010 (SP1+) from http://gallery.technet.microsoft.com/Exchange-2010-SP1-ExFolders-e6bfd405
  3. Install the ExFolders utility by running the registry file contained within the ZIP and copying the ExFolders.exe file to the Exchange bin directory
Run the ExFolders utility:
  1. Run the ExFolders.exe file
  2. Click on File - Connect
  3. Connection Type should be set to Mailboxes and Connect by set to Database
  4. Click on the Select button next to the "Global Catalog" section. Enter a DC running the global catalog role
  5. Click on Select next to the "Database(s)" section and select the required exchange database
  6. Click OK, at this point you should see a list of mailboxes contained within the database(s) you selected from the previous step
  7. To run modifications for all mailboxes simply highlight the Mailboxes root, otherwise highlight the user mailbox you wish to update
  8. To enable logging for troubleshooting purposes click on Tools, Options and enable both the "Enable logging to file" and "Enable extended logging" then click OK
  9. Click on Tools - Custom Bulk Operation then paste in the following into the Overall Filter section : (&(0x3613001E=IPF.Imap))
  10. Now click on the Add button and on select "Other folder properties" on the Operation Type prompt
  11. Click on the Property drop down list and select "PR_CONTAINER_CLASS : 0x3613001E"
  12. Enter the following into the Value field : IPF.Note and click on the Add button
  13. Click OK and OK again
  14. The update process will now run, correcting all IPF.Imap folders contained within the selected Database / Mailbox to the standard IPF.Note format

Note that it can take a few minutes for Outlook to update the folder type information.

I hope this helps you out.