Problem
When running EVPM, "Error creating privileged MAPI session" is returned.
Error Message
See below Dtrace of process EVPM below:
65 10:20:17.015 [8408] (EVPM) <7184> EV:M CMAPISession::GetExchangeServerDnFromSession - calculate ExchangeServerDn
66 10:20:17.015 [8408] (EVPM) <7184> EV:M CMAPISession::GetExchangeServerDnFromSession - found exchange server dn: /o=ABCCORP/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ABCEX12
67 10:20:17.015 [8408] (EVPM) <7184> EV:M CMAPISession::CreateMapiSession - Get PR_MAILBOX_OWNER_ENTRYID
68 10:20:17.015 [8408] (EVPM) <7184> EV:M CMAPISession::CreateMapiSession - Release Mutex(2)
69 10:20:17.015 [8408] (EVPM) <7184> EV:M CMAPISession::ClearProfileCache()
70 10:20:17.015 [8408] (EVPM) <7184> EV:M CMAPISession::CloseMapiSession - Entry
71 10:20:17.155 [8408] (EVPM) <7184> EV:M CMAPISession::CloseMapiSession - [1]
72 10:20:17.155 [8408] (EVPM) <7184> EV:M CMAPISession::CloseMapiSession - [2]
73 10:20:17.155 [8408] (EVPM) <7184> EV:M CMAPISession::CloseMapiSession - [3]
74 10:20:17.155 [8408] (EVPM) <7184> EV:M CMailboxHelper::DeleteProfile(VaultMbxAgent-abc14-7184-1345569616-0-437-0): 0x0
75 10:20:17.155 [8408] (EVPM) <7184> EV:M CMAPISession::GetMapiSessionFromPoolEx: Exit status: 0x8004010f
76 10:20:17.171 [8408] (EVPM) <7184> EV:M ~EVPM - Successfully processed 0 out of 0 mailboxes
Solution
Check the following registry values on affected Enterprise Vault Server where # is the version of Outlook installed.
HKEY_CURRENT_USER\Software\Microsoft\Office\#\Outlook\Cached Mode
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\#\Outlook\Cached Mode
1 = Enabled
0 = Disabled
If value is Enabled = 1, set it to 0 to disable Exchange Cached Mode and try the EVPM again.