Azure DevOps / Team Foundation Server Support¶
Power Pack adds support for using Review Board for code review when using Azure DevOps / Team Foundation Server (referred to as TFS in this documentation) for source code hosting. Power Pack supports both TFVC and Git repositories hosted via TFS.
Adding a TFS repository is done using the same procedures as adding any other repository. See Repositories for the basic steps of adding and configuring a repository.
TFS Repository Configuration¶
To create a TFVC repository, select (None - Custom Repository) for
the Hosting service, and Team Foundation Server for the
Repository type. Once selected, add the fully-qualified path to the
TFS server and collection (i.e.
the Path. This should match the path listed in the TFS
Administration Console or the collection reported when running
To create a TFS Git repository, select (None - Custom Repository)
for the Hosting service, and
Team Foundation Server (git) for the Repository type.
Once selected, add the fully-qualified clone path for the repository (i.e.
http://tfs:8080/tfs/DefaultCollection/_git/git-project) for the
Path. This should match the “Clone Repository” path in the team
explorer. Note that you must use the TFS Git repository type, and not plain
If you are using TFS 2018+ or Azure DevOps, you’ll need to create a Personal Access Token to authenticate.
On Team Foundation Server, open the collection in a browser and select your account icon in the upper right, then click Security. On the next page, select Personal access tokens. On Azure DevOps, select your account icon in the upper right and choose Personal access tokens from the menu.
From this page, generate a new Personal Access token for use with Review Board. Enter this access token in the Password field (the Username field can be left blank). Note that you’ll need to copy this immediately, as it will not be visible after you leave the page.
On TFS 2015 and below, use your domain login credentials for Username and Password.
The RBTools command-line tools include support for posting pending changes against TFS repositories. This currently requires the tf.cmd command, which is included in Visual Studio 2013 (Update 3 and below), and in Team Explorer Everywhere (which runs on Windows, Mac OS X, and Linux).
If you are running Visual Studio 2013 Update 4, you’ll need to install Team Explorer Everywhere to get tf.cmd. In Update 4, this was replaced with a new version called tf.exe which is missing several crucial features.