Export (0) Print
Expand All

TFSLabConfig ClearServiceAccount Command

Removes the service account credentials that are used by the test and build agents of a team project collection to communicate with the test controllers and build controllers.

Required Permissions

To use the ClearServiceAccount command, you must have the Manage Lab Locations permission at the Team Project Collection Host Group level. By default, the members of the Team Foundation Server Administrators and Project Collection Administrators groups have this permission. For more information, see Team Foundation Server Permissions.

TFSLabConfig ClearServiceAccount




The URL of the team project collection on the application tier of Team Foundation Server.

The service account of a team project collection is set by the TfsLabConfig SetServiceAccount command or in the User Account tab of the Create Team Project Collection dialog box.

For increased readability in the example, command options are listed on separate lines. In a command prompt window, type all options for a command on the same line.

This example clears the user accounts for a team project collection.

tfslabconfig clearserviceaccount
    /collection:http:// contosotfs:8080/TFS/DefaultCollection

Community Additions

© 2015 Microsoft