TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Error TF259137 when trying to create new Lab Environment

June 11th, 2013 · No Comments · 17951, Visual Studio Online

The Problem

When trying to create a new Lab Environment with TFS 2012, you receive the following error message:

TF259137: The following account does not have sufficient permissions to complete the operation: DOMAIN\user. The following permissions are needed to perform this action: Write.

The Solution

You can find out about the current permissions by running the following command:

tfslabconfig.exe permissions /collection:<CollectionURL>
/Url:VSTFS:///LabManagement/TeamProject/<TeamProject>

(Replace blue parts with actual values.)

In the output, I realized that somehow the "[PROJECTNAME]\Project Administrators" group had not permissions for the team project, so I fixed it by running:

tfslabconfig.exe permissions /collection:<CollectionURL>
/Url:VSTFS:///LabManagement/TeamProject/<TeamProject>
/Group:"[Neno]\Project Administrators" /allow:*

Hope this helps!

–Neno

Tags:

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

*