“CMapiSession::CreateEMSPSTProfile” Error Message When You Use Exmerge

ExMerge is a tool I use when users leave the company. Before deleting and purging the mailbox I create a PST file in which all mail and data will be saved. This can be given to the user in case he/she asks for it.

During an export of a mailbox I got the following error in the ExMerge.Log:

[09:47:54] Using last logon locale for all mailboxes, if possible

[09:47:54] Initializing worker thread (Thread0)

[09:47:54] Copying data from mailbox ‘Displayname’ (‘ALIAS’) on Server ‘SERVER’ to file ‘C:ExportALIAS.PST’.

[09:47:54] Error configuring message service (MSPST MS) (MAPI_E_EXTENDED_ERROR) (CMapiSession::CreateEMSPSTProfile)

[09:47:54] Errors encountered. Copy process aborted for mailbox ‘Displayname’ (‘ALIAS’).

[09:47:54] Number of items copied from the source store for all mailboxes processed: 0

[09:47:54] Total number of folders processed in the source store: 0

This was a pretty odd error, because I had frequently used this. After a little investigation I came to the following conclusion.

The directory where the PST file was to be exported to, wasn’t there anymore and instead of giving a normal error like “Directory doesn’t exist”, ExMerge gave me a headache. The simple solution was this time to create the directory (or select another export directory).

Hans Sleurink

Hans Sleurink works as a Consultant at Wortell in the Netherlands where he designs and deploys Unified Communications solutions. His main focus is on, but not limited to, Microsoft Teams (migrations), including Enterprise Voice, contact center solutions, AudioCodes, Direct Routing, Exchange, Office 365, Active Directory and other UC related topics.

More Posts - Website

Follow Me:

Leave a Reply




This site uses Akismet to reduce spam. Learn how your comment data is processed.