Bagikan melalui


Add a SharePoint Web Application to a Team Project Collection

If you add one or more SharePoint web applications to a team project collection, project administrators can create team project portals for the team projects in that collection. By default, a collection supports team project portals when it is created if a Web application was configured as part of your deployment of Team Foundation Server (TFS). However, you might not have had a web application configured for your deployment when you created the collection, or you might have overridden the default settings and not configured a web application for the collection. In either case, you can add one or more Web applications to a collection at any time after a web application has been added to support the deployment.

Note

You cannot automatically add team project portals to the projects that already exist in a collection simply by adding a SharePoint Web application to a collection. After you add a web application, you can, in the Create a New Team Project Wizard, create a project portal for the project that you are creating. However, any team projects that already exist in that collection will not have portals automatically created for them on that web application.

Required Permissions

To perform these procedures, you must be a member of the following groups:

  • The Team Foundation Administrators group, or your Edit instance-level information permission must be set to Allow.

  • The Site Collection Administrators group or your Full Control permission must be set to Allow in SharePoint Products.

  • For TFS and SharePoint Products to interoperate correctly, both the service account that the Visual Studio Team Foundation Background Job Agent (TFSService) uses and the service account that the SharePoint Web application uses must have certain permissions. For more information, see Service Accounts and Dependencies in Team Foundation Server and Team Foundation Background Job Agent.

For more information about permissions, see Team Foundation Server Permissions.

To add a SharePoint Web application and a default root location in which project administrators will create team project portals

  1. Open the administration console for Team Foundation.

    For more information, see Open the Team Foundation Administration Console.

  2. Expand the name of the server, expand Application Tier, and then choose Team Project Collections.

  3. In the Team Project Collections list, choose the collection from the list for which you want to add a web application and a default location where team project portals will be created.

  4. On the SharePoint Site tab, choose Edit Default Site Location.

    The Edit Default Site Location window appears.

  5. In the SharePoint Web Application list, choose an application.

  6. In Relative Path, specify the relative path of the location where sites and sub-sites will be created on the web application for this collection.

    If the site does not exist, a SharePoint Site dialog will appear asking you to confirm creation of a site. Choose Yes.

  7. In Full Path, review the information, and then choose OK if it is correct.

See Also

Tasks

Add a SharePoint Web Application to Your Deployment

Add Users to Team Projects

Move a Team Project Collection

Split a Team Project Collection

Concepts

Organizing Your Server with Team Project Collections

Other Resources

Configuring Resources to Support Team Projects