Creating a Team Project
You may consolidate your projects in groups that meets your industry needs by creating team project collections. You may create a collection for all projects that may relate to a specific codebase, or you can make a collection for each BU in your organization.
Beforehand you create a team project collection, you need the subsequent pieces of information:
- SQL Server instance name that you want to host the DB for the collection. You might also need the name of an empty DB to use for the collection.
- The SharePoint Web App, if any, that will host portals for team projects in this collection. If your user account does not have permissions to create sites on that SharePoint Web App, you will also want the name and the path of a site that a member of the Farm-Admins group created.
- The server that’s SQL SRS is installed and that will host any reports for team projects in this pool, if such a server has been configured for the organization and you want to use it for the collection. If your account does not have proper permissions to create folders on that server, you will also need the name and the relative path of a folder that an administrator created for you on that server.
Permission Requirements for this task:
- The Team Foundation Adminsgroup, or you need to have the Create team project collection permission set to Allow.
- The Win SharePoint Server Site Admins group and the SharePoint Administration-group in SharePoint Products.
- The SQL SRS Content Managers group and the SRS Project Content Managers group.
- The server-admin or sys-admin group on the server that will host the DB for the team project collection, if you want to create that DB as part of creating the collection. If you intend to use an existing DB, you need to have the dbo role for that DB.
- If you want to create a site collection, a report folder, or a DB as part of creating a team project collection, the service account that the VS Team Foundation Background Job Agent uses (also known as the service account for TFS or TFSService) need to have certain permissions.
To create a team project collection:
- Open Team Foundation Admin console.
- expand the name of the server, expand ApplicationTier, and click Team Project Collections.
- click Create Team Project Collection.
- In Name, Enter a name for your collection. Click Next.
- In SQL Server Instance, Enter the name of the server that is running SQL Server. If you want to use a named instance to host the DB for this team project collection, you need to also specify the name of the instance as” SQLServer\Instance.
- If you have configured one or more SharePoint Web Apps to support your deployment, in the Web App list, click a SharePoint Web App, and perform one of the following steps:
- If you want to use the default option of creating a site collection, click Next.
- If the service account for TFS is not a member of the Farm Admins group, you cannot create a site collection as part of this wizard. You need to use an existing site collection that a member of the Farm Admins group created for you. In that case, expand Advanced configuration, click Specify a path to an existing SharePoint site, and Enter the relative path of the site collection that was created for you. Click Verify Path, and if the path is correct, click Next.
- If you have configured a server that is running SQL Server Reporting Services to support your deployment, perform one of the following steps:
- In Reports, review the information for the server and the folder that will host reports for this collection, and click Next.
- If your user account does not have permissions to create a folder on the server that is running Reporting Services, you need to use a folder that an administrator created for you on that server. In that case, expand Advanced configuration, click Specify a path to an existing folder, and Enter the relative path of the folder that has been created for you. Click Verify Path, and if the path is correct, click Next.
- In Lab Management, click Configure Lab Management, and click Next.
- In Library Shares, click Add and Verify, click one or more virtual machine manager (VMM) library shares that should be used to store virtual machine images for team projects in this collection, and then click Add.
- Select or clear the Auto Provision check box for each library share, and click Next.
- Click Next.
- In Host Groups, click Add and Verify, click one or more VMM host groups that should be used to deploy virtual machines for team projects in this collection, and then click Add.
A SharePoint site collection will be created, and the name of the collection is used as the name of the sub-site of the root site that is configured in the SharePoint Web App.
The verification process now confirms the following changes:
- The service account for TFS has been added to each host in the host groups that you have specified so that TFS can communicate directly with the hosts on the host group.
- The network adapter that will be used to connect to the virtual machines is specified.
- If the service account for TFS (TFSService) has not been added to the Admins group on one or more hosts in these host groups, you need to provide a domain account that has administrative permissions on all hosts in the host groups that you have added. This step allows the service account for TFS (TFSService) to communicate directly with the hosts on the host group.
- If you have one or more Hyper-V hosts that have multiple network adapters and if TFS cannot determine which adapter should be used to connect the virtual machines, the Multiple Network Adapters dialog box appears for each of these hosts. In the list, specify the network adapter that corresponds to your network location that you want to use.
- Select or clear the Auto Provision check box for each host group.
- To specify the user account to use for communication between the test agents and build agents and between the test controllers and TFS, click Service Account.
If you select this check box, TFS automatically adds the host group to the team projects in this team project collection. For team projects that have not yet been created, the host group is added when the New Team Project wizard creates the project.
- On the Service Account tab, Enter the name of your account in Account Name and the password in Password.
- To check whether the user account is valid, click Test.
- Click Next.
- In Review Configuration, review your data. If you want to make any changes, click Previous until you reach the page that you want to change. If all the information is correct, click Verify.
- In Readiness Checks, review the status of the checks.
A blue underlined Error indicator appears next to any configuration that contains an error. You can click the indicator for a detailed message about the problem. You need to address all errors before you can continue.
- After all readiness checks have passed, click Create.
The process of creating a team project collection starts.
- .After the wizard finishes, click Close.
