Team Foundation Server and SharePoint Integration

 

To incorporate team projects and SharePoint sites, you need to add one or more SharePoint Web App to standard and advanced installations of Team Foundation Server. However, you may not add SharePoint Web App to basic installations of Team Foundation Server. If you add SharePoint Web apps, members of your team can execute the following tasks:

To add a Web app, you need to configure settings on a server that hosts the Web app and the server that hosts the app tier for Team Foundation. In addition, you needto add the service account that Sharepoint uses to the SharePoint Web app Services group in TFS. You can make all these changes in the administration console for TFS.

 

To integrate Team Foundation Server and Sharepoint server, ensure that:

Provisional on your business requirements, you might need to grant access for more than one SharePoint Web app to support your placement of Team Foundation Server. For example, you can allow access to a SharePoint Web app that provisions projects that you create in the current version of Team Foundation Server. You  then create a redistribution to another Web app that supports projects that you created in the older version of Team Foundation Server.

 

Permission Requirements

To do these procedures, you need to be a member of the following groups:

 

To allow access between a SharePoint Web app and TFS

  1. On server with Team Foundation Server Extensions for Sharepoint, open the TFS admin console.
  2. Choose Extensions for Sharepoint.
  3. In the Extensions pane, click on Grant Access.
  4. In Team Foundation Server URL, type the URL for TFS.
  5. In SharePoint Web app, click the URL for the SharePoint Web app that you wish to use.
  6. In Enterprise Application Definition, please type the name of the definition that you created earlier for Team Foundation Server.
  7. When you have typed the required information, click OK.

 

To allow access between Team Foundation Server and a SharePoint Web app

  1. On TFS application tier Server, launch administration console for Team Foundation.
  2. Click on SharePoint Web apps.
  3. In SharePoint Web Apppane, click Add.
  4. On the General tab on the top, in Friendly Name, please type the name for this SharePoint Web app.
  5. In Web app URL, please enter URL of the SharePoint Web app.
  6. In the Central Administration URL, please type the URL and the port number for SharePoint Central Administration.
  7. In Default location for team project collection sites, type the relative path for the site collection that you want to use as the root for team project collections that use this SharePoint Web app.
  8. Click OK.

 

To Add SharePointWeb appService Account

When you allow access between a SharePoint Web app and TFS, you need to add the service account for the Web app to the SharePoint Web app Services group in Team Foundation Server.

  1. On server where you have installed the application tier for Team Foundation Server, open the administration console for Team Foundation.
  2. Expand the tree, and click SharePoint Web apps.
  3. In the SharePoint Web Appp, in the Service Accounts for SharePoint Web Appsection, click Add Members.
  4. In Enter the object names to select, type the account that you want to add, and then click OK.