This article deals with integration of Team Foundation Server 2010 with Share Point 2010. The same holds good for other versions of Share Point (WSS 3.0, MOSS 2007 ).
If you are installing the WSS3.0 with Team Foundation Server 2010 configuration wizard then you can skip this procedure.
Below are the steps to integrate existing instance of the SharePoint with Team Foundation Server 2010.
If you want to use the existing SharePoint web application, please navigate to step 2 directly.
1. Create a web application for use with Team Foundation Server
Need to do this when share Point was not installed as part of TFS installation.
On the server that is running Share Point products, open Share Point Central Administration console.
Create a web application that uses port 80, uses NTLM for authentication.
On the Share Point Central Administration site, click Mange Web Application and then click New to create a new web application.
In the IIS Web Site part,
Choose Create a new IIS web site to create a new site.
In the Application pool section, Choose Create new application pool to create a new application pool. This will be selected by default.
Create a site collection in the newly created web collection if you are linking the.
In the central Administration page, under Application Management, click Create Site collections. The site collection creation page appears. If the web application in which you want to create a site collection is not selected, click on the web application name and then click change web application.
In title pane, enter the name of the site and Select a Team template for the site.
Under Primary Site Collection Administrator, enter the administrator for this site collection and Click OK.
2. Install Team Foundation Server Extensions for SharePoint Products on the machine where Share Point is running.
Insert the installation media of Team Foundation Server 2010 and run the setup. Click Next and Select Add or Remove features.
Here, select Extensions for SharePoint Products and Technologies and click on Update.
The Extensions for SharePoint Products and Technologies will be installed.
Click on configure to configure the installed extensions.
In the Team Foundation Server Configuration Center page, select Configure Extensions for SharePoint Products. And click on Start Wizard.
Click on Configure to complete the configuration wizard
3. To grant access between Team Foundation server and the Share Point web application
On the server where Team Foundation Server is installed, open the Team Foundation Server Administration Console.
Expand the Application tier node, select Share Point web applications and Click Add.
The Share Point web application settings window appears.
In the Friendly name, enter a name for the Share Point web Application.
In Web Application URL, enter the URL of the SharePoint Web application for which you want to grant access.
This is in the form: http://servername
Where, servername: name of the server where SharePoint is installed
In Central Administration URL, enter the URL and the port number for SharePoint Central Administration.
This is in the form: http://severname:17012
17012 is the default port number.
If the SharePoint central administration site was configured with a different port number, replace the 17012 with the configured port number.
In ‘Default location for team project collection sites’, enter the relative path for the site collection that you want to use as the root for team project collections that use this SharePoint Web application. This can just be /sites.
Click Verify Path to verify the path specified and Click OK.
Click on Extensions for Share Point Products and Click Grant Access.
The Access for Team Foundation Server window appears.
In URL for Team Foundation Server, enter the public URL for Team Foundation Server.
This is in the form: http://servername:8080/tfs
Where, servername: TFS server name
In SharePoint Web Application, choose the URL for the SharePoint Web application that you want to use.
This is in the form: http://servername/
In Restrict site creation to the following path, enter the path of the site collection where you want to create all sites that Team Foundation Server will use. This step is optional.
In Enterprise Application Definition(which is optional), enter the name of the EAD when Single sign-on is enabled in case of MOSS 2007 or Secure Store Service is enabled in case of SharePoint 2010.
4. To configure a default site location for new team projects created in this team project collection
In the Team Foundation Administration Console, click Team Project Collections.
Under SharePoint site, click Edit Default Site Location.
The Edit Default Site Location appears.
Under SharePoint Web Application, choose the SharePoint Web Application friendly name from the drop down. Under Relative Path, enter the relative path for the new site projects to be created. For instance, the path would be sites/DefaultCollection. If you have already created the site collection make sure that you specified the same name under the Relative Path
The integration of Team Foundation Server with SharePoint is successfully completed J
To check whether Extensions for SharePoint Products has been installed, go to the SharePoint 2010 Central Administration.
Click on System Settings.
Click on Manage farm solutions.
If the status of the solutions is mentioned as deployed, then the Extensions have been installed successfully.
Content developed by : Madhura
Content reviewed by: Lakhminder Singh