*EDIT* to include latest error message
SAM - MAPI User Experience Monitor - tests fail with "Unknown" status
I am having an issue with MAPI User Experience Monitor in that tests fail with "Unknown" status - timeout while executing job. The mail goes through an external smtp server and makes into into the MAPI service accounts inbox. But the monitor seems to fail on attempts to check for the message. If I run the SAM command line tool manually under the service accounts security context it runs without issue(finding and removing the email it is searching for via the MAPI profile"
I have enabled verbose logging and receive the following logs from the attempts:
Wed Jul 02 15:00:37 2014: Called mapi.exe with params:
subject: APM_MAPITestEmail__GUID:94429781-c48a-4f54-a03f-9553cbbe8b83
user: srvc.sw.gen.prod
server: 192.168.224.11
timeout: 288496
wait interval: 500 ms
profile: srvc.sw.gen.prod
attempts: 150
logdirectory: c:\logs
logenable: true
logkeepall: true
enablewatchdog: true
debug: true
removeall: true
subject pattern: ^APM_MAPITestEmail__GUID:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
mapimaxwaitlogoff: 2500ms
Wed Jul 02 15:00:37 2014: MAPIInitialize with flag: 8
Wed Jul 02 15:00:37 2014: * setting mapi profile to 'srvc.sw.gen.prod'
Wed Jul 02 15:00:37 2014: * logging in
Wed Jul 02 15:00:37 2014: * logged in; trying open default mailbox
Wed Jul 02 15:00:37 2014: mapi_tk_opendefaultmailbox_ex
Wed Jul 02 15:00:37 2014: attempt to GetMsgStoresTable
Wed Jul 02 15:00:37 2014: attempt to HrQueryAllRows
Wed Jul 02 15:00:37 2014: lpRows->cRows: 1 lpProps[0].ulPropTag: 268370178
Wed Jul 02 15:00:37 2014: Message Store Name = Mailbox - srvc.sw.gen.prod
Wed Jul 02 15:00:37 2014: attempt to OpenMsgStore(NULL, 182, , NULL, 17, 00000000)
Wed Jul 02 15:00:38 2014: failed with error 8004011c
Wed Jul 02 15:00:38 2014: * failed open default mailbox, trying to update profile with IgnoreNoPF
Wed Jul 02 15:00:38 2014: Error configuring message service.
Wed Jul 02 15:00:38 2014: hRes = 0x80040605
Wed Jul 02 15:00:38 2014: * failed to CreateProfileWithIProfAdmin
Wed Jul 02 15:00:38 2014: logoff start
Wed Jul 02 15:00:40 2014: * watchdog thread thinks MAPI logoff hung. shutting down the process...
Wed Jul 02 12:01:50 2014: Called mapi.exe with params:
subject: APM_MAPITestEmail__GUID:defcefae-11a8-4356-80e6-0a0d96c66075
user: srvc.sw.gen.prod
server: 192.168.224.11
timeout: 288684
wait interval: 500 ms
profile: srvc.sw.gen.prod
attempts: 150
logdirectory: c:\logs
logenable: true
logkeepall: true
enablewatchdog: true
debug: true
removeall: true
subject pattern: ^APM_MAPITestEmail__GUID:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
mapimaxwaitlogoff: 2500ms
Wed Jul 02 12:01:50 2014: MAPIInitialize with flag: 8
Wed Jul 02 12:01:50 2014: * setting mapi profile to 'srvc.sw.gen.prod'
Wed Jul 02 12:01:50 2014: * logging in
Wed Jul 02 12:01:50 2014: * logged in; trying open default mailbox
Wed Jul 02 12:01:50 2014: mapi_tk_opendefaultmailbox_ex
Wed Jul 02 12:01:50 2014: attempt to GetMsgStoresTable
Wed Jul 02 12:01:50 2014: attempt to HrQueryAllRows
Wed Jul 02 12:01:50 2014: lpRows->cRows: 1 lpProps[0].ulPropTag: 268370178
Wed Jul 02 12:01:50 2014: Message Store Name = Mailbox - srvc.sw.gen.prod
Wed Jul 02 12:01:50 2014: attempt to OpenMsgStore(NULL, 182, , NULL, 17, 00000000)
Wed Jul 02 12:06:48 2014: * watchdog thread thinks we've hung. shutting down the process...