Hi
I am struggling with the work management service.
It works within SharePoint and also with Project Server tasks. But I do not get my Exchange tasks replicated.
I followed http://technet.microsoft.com/en-us/library/jj554516(office.15).aspx for the configuration.
The SharePoint / Exchange interaction should work in the system - I have the site mailboxes feature up and running and the prerequisites (Exchange Managed API and OAuth Trust) are the same.
The only thing I find in the logs that might be related to the issue is:
01/12/2013 19:04:48.41 w3wp.exe (0x1AA0) 0x22A8 SharePoint Portal Server Work
Management Service aigrb Medium Completed Refresh job of type AWIOP for current user c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.43 w3wp.exe (0x1AA0) 0x0CFC SharePoint Server Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-5697-0002-8a24-f4ff7001da77
01/12/2013 19:04:48.44 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General aix9j High SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName=
,bstrUrl=https://servername/mysites/WmaAggregatorList_Admin ,METADATAFLAGS=59 c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General ai1wu Medium System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>,
StackTrace: at Microsoft.SharePoint.SPWeb.GetList(String strUrl) at Microsoft.Office.Server.WorkManagement.DataModel.Internal.ListManager.EnsureList() at Microsoft.Office.Server.WorkManagement.DataModel.ExchangeUserInfoCache.GetRowForUserByAccountId(Guid
userAccountUid) at Microsoft.Office.Server.WorkManagement.Internal.ExchangeUserManager.GetExchangeSyncInfo() at Microsoft.Office.Server.WorkManagement.Internal.AWIOPSyncStrategy.OnSyncFinish(IRefresh result)
at Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.ExecuteCore() at Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.ExecuteAndDispose() at Microsoft.Offi... c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44* w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General ai1wu Medium ...ce.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0()
at Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action
toRun, TContextState serviceUserState, String actionName) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams
threadParams) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams) at System.Threading.ExecutionConte... c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44* w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation General ai1wu Medium ...xt.RunInternal(ExecutionContext executionContext, ContextCallback callback,
Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch() c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.44 w3wp.exe (0x1AA0) 0x22A8 SharePoint Portal Server Work
Management Data Model aimqe Medium About to execute query on 1 logical tables c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.46 w3wp.exe (0x1AA0) 0x22A8 SharePoint Portal Server Work
Management Data Model ah32w Medium Read singleton item of type SPRefreshStateFieldManager from list successfully. Id is 2 c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.46 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Dev Events ajbpn Medium Set EventFiringDisabled to [True]. Stack trace: [ at Microsoft.Office.Server.WorkManagement.DataModel.SingletonCache`1.Update(TCore
toWrite) at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass1f.<TryFinishRefreshJob>b__1b() at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryFinishRefreshJob(IRefresh
result) at Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.ExecuteAndDispose() at Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0()
at Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWmaContext(Action toRun, WmaContextType allowedContexts) at Microsoft.Office.Server.WorkManagemen... c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.46* w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Dev Events ajbpn Medium ...t.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action toRun, TContextState
serviceUserState, String actionName) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams
threadParams) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback,
Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserW... c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.46* w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Dev Events ajbpn Medium ...orkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch() ] c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.51 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Dev Events ajbpn Medium Set EventFiringDisabled to [False]. Stack trace: [ at Microsoft.Office.Server.Utilities.EventReceiverUtility.DisabledEventFiringScope.Dispose()
at Microsoft.Office.Server.WorkManagement.DataModel.SingletonCache`1.Update(TCore toWrite) at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.<>c__DisplayClass1f.<TryFinishRefreshJob>b__1b()
at Microsoft.Office.Server.WorkManagement.Internal.RefreshStateManager.TryFinishRefreshJob(IRefresh result) at Microsoft.Office.Server.WorkManagement.Internal.TaskAggregator.FarmRefreshJob.ExecuteAndDispose()
at Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.<>c__DisplayClass1.<ExecuteCodeInsideWmaContext>b__0() at Microsoft.Office.Server.WorkManagement.Internal.WmaContextUtils.ExecuteCodeInsideWma... c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.51* w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Dev Events ajbpn Medium ...Context(Action toRun, WmaContextType allowedContexts) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteAndEnsureContextValid(Action
toRun, TContextState serviceUserState, String actionName) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInSpContext(ThreadParams threadParams) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.ExecuteInDiagnosticScope(ThreadParams
threadParams) at Microsoft.Office.Server.WorkManagement.Internal.BaseContextRunner`2.Run(Object tParams) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback,
Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C... c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.51* w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Dev Events ajbpn Medium ...ontextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() ] c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.51 w3wp.exe (0x1AA0) 0x22A8 SharePoint Portal Server Work
Management Service ahw7a Medium There are no active WmaContextScopes remaining c421f49b-47ca-709a-cba0-b5b84ccec82f
01/12/2013 19:04:48.51 w3wp.exe (0x1AA0) 0x22A8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Task (Refresh job of type AWIOP FarmRefreshJob)). Execution Time=682,8505 c421f49b-47ca-709a-cba0-b5b84ccec82f
Thanks for help
Christoph
Christoph Muelder | Senior Consultant, MCSE, MCT | SOLVIN information management GmbH, Germany