Article ID: 951592 - View products that this article applies to.
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
You configure a build in Microsoft Team Foundation Sever and queue that build.
The build fails and an error similar to the following appears in the Application Event Log:
TF53010: The following error has occurred in a Team Foundation component or extension:
Account name: [Domain]\[User]
Detailed Message: TF50309: The following account does not have sufficient permissions to complete the operation: <DOMAIN>\<USER>. Check the permissions for the account and grant the appropriate permissions to perform this operation.
Web Request Details
Url: http://<tfserver>:8080/Services/v1.0/Registration.asmx [method: POST]
User Agent: Team Foundation (TFSBuildService.exe, 9.0.21022.8)
User: [Domain]\[User] [authentication type: NTLM]
Exception Message: TF50309: The following account does not have sufficient permissions to complete the operation: [Domain]\[User]. Check the permissions for the account and grant the appropriate permissions to perform this operation. (type UnauthorizedAccessException)
Exception Stack Trace: at Microsoft.TeamFoundation.Server.SecurityManager.CheckGlobalPermission(IPrincipal user, String actionId)
at Microsoft.TeamFoundation.Server.Registration.GetRegistrationEntries(String toolId)...
As part of the of a build, access privileges of the account configured to run the build are verified by a call to the Registration web service on the Team Foundation Server application tier machine. This is the call to http://tfsappprod:8080/Services/v1.0/Registration.asmx seen in the event log entry. In this case, the account configured to run the build does not have sufficient rights to do so.
The account that the build machine runs the service TfsBuildService.exe under needs permissions to your TFS Application Tier. Add that account to the TFS "Build Services" group for the team project of the failing build.
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Contact us for more help
Connect with Answer Desk for expert help.