Work Management Service: No tasks are shown on MySite

The work-management-service is not working.

On "MySite" the task-list is always empty (Pic.1), but there are tasks referenced to the profile.

I do not get errors in the ULS or on the task-page (refresh is OK).

Tasks are crawled and search works fine:

Are there any other settings i am not aware of ?

March 19th, 2015 8:09am

OK, i recreated the Work Management Service with the app.-pool-account of the "MySite"-app-pool-account.

Now i'm getting following error in the ULS:

[bucketHash:9D50B45E] Unable to load list https://xxx.com/departments/finance_it-infrastructure/it/Lists/Tasks/AllItems.aspx due to acccess denied error. Exception details follow. Type: 'System.UnauthorizedAccessException', message: 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' 

and stack trace:
    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex) 
    at Microsoft.SharePoint.Library.SPRequest.MapUrlToListAndView(String bstrUrl, String bstrUrlToMap, Guid& pgListId, Guid& pgViewId) 
    at Microsoft.SharePoint.SPWeb.GetListFromWebPartPageUrl(String pageUrl) 
    at Microsoft.Office.Server.WorkManagement.ProviderOM.SharePointTaskAggregationUtilities.TaskCollector`3.<>c__DisplayClass56.<TryExecuteActionWithListLoaded>b__53(SPWeb web) 
    at Microsoft.Office.Server.WorkManagement.ProviderOM.SharePointTaskAggregationUtilities.TaskCollector`3.TryExecuteActionWithListLoaded(Func`1 fnGetCreateSite, Func`2 fnCreateWeb, Func`2 fnGetList, Func`1 fnGetListId, Action`3 toExecute).



Free Windows Admin Tool Kit Click here and download it now
March 19th, 2015 10:46am

Hi Thomas,

From the error log, there is permission issue. Please check

1.The service account used for the Work Management Service Application needs Full Control permissions on the User Profile Service Application!

2.When setting up the Work Management Service Application be sure to use the same service account as your Web Applications for the application pool identity. 

3.If it is being used in a farm where you are required to use separate accounts the following items need to be done:

       
  • Grant the account that the Work Management service is running as "Full Control" to the User Profiles Using "administrators" button on the ribbon
  • Grant the account that the Work Management service is running as "Full Control" to the User Profile service using the "permissions" button on the ribbon
  • Run the powershell command to grant content access to a process account to the MY SITE web application:
    • $webApp = Get-SpWebApplication [URL of the MYSite web application
      $webapp.GrantAccessToProcessIdentity("[Work Management account]")
    • Note: this should do three things - Add the work management account to the user policy of the web application; Add the work management account to the config database with the permissions of WSS_Content_Application_Pools; Add the work management account to the MySite content database with the permissions of SPDataAccess.
    • Confirm these are set.
  • It did require restarting of the critical services, Work Management service, IISReset, recommend restart of server if possible.

http://social.technet.microsoft.com/wiki/contents/articles/12525.sharepoint-2013-work-management-service-application.aspx

Regards,

March 23rd, 2015 5:24am

Already done that. Tried all service-accounts with these permission settings.

Still getting "access denied"-error:

[bucketHash:9D064CD6] Unable to load list https://intranet.com/customer/issuetracking/Lists/Tasks/MyOpenTasks.aspx due to acccess denied error. Exception details follow. Type: 'System.UnauthorizedAccessException', message: 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' and stack trace:
    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex) 
    at Microsoft.SharePoint.Library.SPRequest.MapUrlToListAndView(String bstrUrl, String bstrUrlToMap, Guid& pgListId, Guid& pgViewId) 
    at Microsoft.SharePoint.SPWeb.GetListFromWebPartPageUrl(String pageUrl) 
    at Microsoft.Office.Server.WorkManagement.ProviderOM.SharePointTaskAggregationUtilities.TaskCollector`3.<>c__DisplayClass56.<TryExecuteActionWithListLoaded>b__53(SPWeb web) 
    at Microsoft.Office.Server.WorkManagement.ProviderOM.SharePointTaskAggregationUtilities.TaskCollector`3.TryExecuteActionWithListLoaded(Func`1 fnGetCreateSite, Func`2 fnCreateWeb, Func`2 fnGetList, Func`1 fnGetListId, Action`3 toExecute).

I googled this error, but with no result. It seems a very specific problem.
Perhaps HTTPS ?

Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 3:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics