Creating Team Project and Assign Group Permission in TFS

Here I am using the Visual Studio 2013 Team Explorer to create a team project in the Team Foundation Server (TFS). Although we can use the same procedure (as in the following) to create a team project in earlier Visual Studio versions.

Before proceeding we need to understand a little bit about TFS and why we are creating the team project in TFS.

Team Foundation Server (TFS) is a Microsoft product that provides source code management, reporting, requirements management, project management, automated builds, lab management, testing and release management capabilities. It covers the entire Application Lifecycle Management.

Why to create a team project in TFS

If we want to execute a project successfully in such a way that allows utilization of all the features of TFS then creating a team project is the first step.

Before creating a team project in TFS you should have the required permissions on TFS. That I assume you have.

Now let's start. Open the team explorer window in Visual Studio, select TFS Server and connect to the team project collection. Now it's time to create new a team project in the team project collection.

Then click on the Create Team Project link as shown below:

create team project

Then a new window will popup where you can provide your team project name and a short description of your project. Please refer to the following image. Then click on the "Next" button.

specify team project setting

Here you have options for selecting the process template. Basically these templates will define how the team project is managed. This depends on your requirements and processes that you used. In my case I used Microsoft Visual Studio Scrum 1.0. For more info, click on the link in the wiindow. Then click on the "Next" button.

select process template

Then click on the "Next" button.

click next button

Then click on the "Next" button.

finish

Then click on the "Finish" button. That's it. Now we have created a team project successfully in TFS.

Now I will show how to provide access to the users on a specific team project for a specific role or groups.

Click on the link as shown below.

team explorer

Then click on the "Settings" tab.

settings

We will access the group membership for the team project, not for the team project collection. Don't be confused. Now click on the Group Membership tab.

group membership

I will now add specific users to the contributors group. A member of this group can add, modify and delete items within the team project. To add a user to the group, click on the properties button as shown below.

properties

Now select the Radio Button (window user or group) because I am adding users from the window (active directory). Then click on the "Add..." button.

add

Then type the name of user that you wish to add and click on the "OK" button.

check name

Now you have added users to the contributors group successfully.

Summary

Here we have looked at how to create team project in TFS step-by-step. Then how to add users to specific groups for specific roles.


Similar Articles