When you install TFS 2010, you can have the setup automatically install and configure Windows SharePoint Service 3.0 (WSS) for you. Unfortunately you can’t have it use SharePoint Foundation 2010 instead so you are faced with manually installing this if you wish to use it. This blog post walks you through installing SharePoint Foundation 2010 as part of a fresh TFS 2010 install.

NOTE: The focus of this blog post is about how you can choose to install SharePoint Foundation 2010 instead of Windows SharePoint Services 3.0 for use with TFS 2010. It is not a post about best practises for installing or configuring TFS 2010.

Step 1: Install Operating System and SQL Server

  1. Install and configure server with your Operating System (Eg. Windows Server 2008 R2) and SQL Server (Eg. SQL Server 2008 R2). Make sure you follow the detailed instructions in the Team Foundation Installation Guide for Visual Studio 2010

Step 2: Download SharePoint Foundation 2010

  1. You can download SharePoint Foundation 2010 from the Microsoft Download site at http://www.microsoft.com/downloads/en/details.aspx?FamilyID=49c79a8a-4612-4e7d-a0b4-3bb429b46595&displaylang=en

Step 3: Install SharePoint Foundation 2010

  1. Start the SharePoint Foundation installation by double-clicking the SharePointFoundation.exe file
  2. On the SharePoint Foundation 2010 splash screen, click the “Install software prerequisites” link in the Install section.
  3. On the Welcome screen, click Next
  4. Accept the licensing agreement and click Next
  5. Once the prerequisites have been installed, click Finish.
  6. On the SharePoint Foundation 2010 splash screen, click the “Install SharePoint Foundation” link in the Install section.
  7. Accept the terms of the agreement and click Continue
  8. When prompted to “Choose the installation you want”, make sure you click the “Server Farm” button.
  9. Select Complete for the Server Type and click Install Now.
  10. On the Run Configuration Wizard page, leave the checkbox checked and click Close.

Step 4: Configure SharePoint Foundation 2010

  1. On the Welcome page of the SharePoint Products Configuration Wizard, click Next
  2. You will see the following dialog letting you know some of the services may be started or reset during the configuration. Click Yes.

    SPWizard Pg1

  3. Click “Create a new server farm” and click Next
  4. Provide a Passphrase and click Next
  5. Specify 17012 as the SharePoint Central Administration website port and click Next
  6. Click Next on the “Completing the SharePoint Products Configuration Wizard” page.
  7. Once the configuration is complete you should click “Finish” on the Configuration Successful screen.
  8. You should now see the SharePoint Central Administration site appear in a browser on your server. Click Cancel, you do NOT want to run the Server Farm Configuration wizard.
  9. Close your browser.

Step 5: Create a Web Application

Now that you have installed SharePoint Foundation 2010 and completed the initial configuration, you must create a Web Application.

  1. Open the SharePoint Central Administration site. (Start Menu | All Programs | Microsoft SharePoint 2010 Products | SharePoint 2010 Central Administration)
  2. Under the Application Management heading, click Manage web applications.

    SPWizard Manage

  3. In the toolbar, click the New button
  4. In the “Create New Web Application” dialog, enter the following settings:
    Authentication Classic Mode Authentication
    IIS Web Site use Existing IIS web site (Default Web Site)
    Port 80
    Host header {Blank}
    Path C:inetpubwwwroot
    Security Configuration Authentication Provider: NTLM
    Allow Anonymous: No
    Use Secure Socket Layer (SSL): No
    Public URL http://your-server-name:80/
    Application pool Create new application Pool
    Application Pool name: SharePoint –80
    Security Account:domainwss_service account
    Database name Server name: Your DB servername
    Database Name: WSS_Content
    Database Authentication: Windows Authentication
    Failover Server {Blank}
    Search Server {Blank}
    Service Application Connections Accept {Default}
    Customer Experience Improvement Program No (up to you)

    Click on OK

  5. If you are prompted to change the site from Kerberos to NTLM, click OK
  6. Once the site has been created, click OK

Step 6: Configure security

  1. Open the SharePoint Central Administration site. (Start Menu | All Programs | Microsoft SharePoint 2010 Products | SharePoint 2010 Central Administration)
  2. Under the Security heading, click Manage the farm administrators group.
  3. Click Add Users from the New drop down menu
  4. Enter the TFS Service account (eg domaintfs_service) into the dialog and click OK

Once you have completed these steps you can run the TFS 2010 setup.exe program and as part of the configuration phase, your SharePoint configuration will be verified.

Enjoy using SharePoint Foundation 2010 with your shiny new TFS 2010 server.