Your user or Service Account user does not have enough permissions to perform calls to TFS API. Please check permissions.
Officially AnsweredOrganization: Azure DevOps Server
User: PROD-ZSVR\rakulan.subramaniam
Version: 5.21.4.51015
EventTime: 2021-08-16T09:14:21+02:00
Error occurred while handling your request.
at method: RequestData
Message: Your user or Service Account user does not have enough permissions to perform calls to TFS API. Please check permissions.
StackTrace:
at Timetracker.JointCodebase.BusinessLayer.Providers.Implementation.VisualStudioProvider.RequestData[T](VisualStudioRequest request, Method method, Action`1 preRequestExecution, String contentType) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Providers\Implementation\VisualStudioProvider.cs:line 1129
at Timetracker.JointCodebase.BusinessLayer.Providers.Implementation.VisualStudioProvider.RequestData[T](VisualStudioRequest request, Method method, Action`1 preRequestExecution) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Providers\Implementation\VisualStudioProvider.cs:line 1093
at Timetracker.JointCodebase.BusinessLayer.Providers.Implementation.VisualStudioProvider.GetProcessWorkItemTypes(VsoTokenModel tokenModel, Project virtualProject, String realTeamProjectName) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Providers\Implementation\VisualStudioProvider.cs:line 119
at Timetracker.JointCodebase.BusinessLayer.Services.Implementation.WorkItemTypeColorService.GetProjectFromMemory(String projectName, Project virtualProject, VsoTokenModel tokenModel) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Services\Implementation\WorkItemTypeColorService.cs:line 138
at Timetracker.JointCodebase.BusinessLayer.Services.Implementation.WorkItemTypeColorService.GetColorForType(String workItemType, String projectName, Project virtualProject, VsoTokenModel tokenModel) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Services\Implementation\WorkItemTypeColorService.cs:line 42
at Timetracker.JointCodebase.BusinessLayer.Context.Services.ContextWorkItemsService.GetColor(String type, String projectName, VsoTokenModel token) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\ContextWorkItemsService.cs:line 519
at Timetracker.JointCodebase.BusinessLayer.Context.Services.ContextWorklogService.PrepareWorkItemTabModel(Int32 id, String[] featureTypes, Boolean isActivityTypesEnabled, SettingsActivityType activityTypes, VsoTokenModel vsoToken) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\ContextWorklogService.cs:line 1088
at Timetracker.JointCodebase.BusinessLayer.Context.Services.ContextWorklogService.GetItemWorklog(Int32 id, VsoTokenModel vsoToken) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\ContextWorklogService.cs:line 978
at Timetracker.Web.Controllers.IntegrationController.GetStatForTab(Nullable`1 id) in C:\a\2\s\TimetrackerOnline\TimetrackerOnline.Web\Controllers\IntegrationController.cs:line 207
at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
-
Hello Rakulan,
Can you please ensure that your Timetracker Service Account is a user who is a member of the DevOps Collections Administrator group and that it is authorized for use with DevOps/TFS? In order to check that it is authorized, an admin user from your team will need to log in as the Service Account user and navigate to any Timetracker page to check if there is a yellow ribbon at the top of the page prompting them to authorize the account.
More detailed instructions on how to set up the Service Account can be found here: Service Account (cloud) | Service Account (on-prem).
Best regards,
Vanja
Please sign in to leave a comment.
Comments
1 comment