Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Set Administrator Permissions for Team Foundation Server

You can grant administrator permissions to users in Visual Studio Team Foundation Server by adding them to the Team Foundation Administrators group in Team Foundation Server. If your deployment uses resources in SQL Server Reporting Services, you must also grant those users permissions in that program. Unlike previous versions of Team Foundation Server, you do not have to grant administrators of Team Foundation permissions in SharePoint Products. The permissions that are required for SharePoint Products interoperability are granted to the service account for Team Foundation Server. However, for optimum interoperability and ease of use, you might want to grant members of the Team Foundation Administrators group membership in certain groups in SharePoint Products.

Administrators maintain at least one server that is running Team Foundation Server, and they administer permissions and security for other roles at the server level and at the level of team project collections. Members of the Team Foundation Administrators group have the highest set of permissions of any users in Team Foundation Server. For most organizations that use Team Foundation Server, administrators create and manage team project collections, in addition to performing any operations that are required to maintain the server.

For information about how to set permissions for other members of the team, see Add Users to Team Projects and Set Administrator Permissions for Team Project Collections.

An administrator for Team Foundation Server must be a member of the following groups or have the following permissions:

  • Team Foundation Server: Team Foundation Administrators or have the appropriate server-level permissions set to Allow. For more information, see Team Foundation Server Default Groups, Permissions, and Roles.

  • Windows: Administrators group on the server that is running the administration console for Team Foundation. The administration console requires administrative permissions to operate correctly.

  • SharePoint Products: the appropriate groups or permissions in SharePoint Central Administration. Depending on your deployment configuration and security requirements, you might not need to add the user to any groups in SharePoint Products. For optimum interoperability, consider adding them to the following SharePoint Products groups:

    • Farm Administrators

    • Site Collection Administrators group for all site collections that are used by the deployment of Team Foundation Server.

    For more information, see Interactions Between SharePoint Products and Team Foundation Server and Service Accounts and Dependencies in Team Foundation Server.

  • Reporting Services: Team Foundation Content Manager and either sysadmin or the db_owner group membership for the configuration database, the reporting and analysis databases, and the databases for team project collections.

  • SQL Server: serveradmin role if you want the user to be able to create a database when creating a team project collection. If your security requirements restrict membership in this role, a SQL Server administrator must create a database to be used before a team project collection can be created.

NoteNote

Even users who have appropriate permissions might not be able to view team project portals or reports correctly until they add the sites to their Trusted Sites in Internet Explorer. For more information, see this topic on the Microsoft Web site: User Account Control.

You can grant administrative permissions for Team Foundation Server in two ways: from the administrative console or directly through each program for which you want to grant permissions. Granting permissions through the administrative console is simpler but has some requirements. Consider using the administrative console when all of the following conditions are true:

  • Your deployment of Team Foundation Server is in a trusted environment where the service account for Team Foundation Server has permissions in SharePoint Products and SQL Server Reporting Services.

  • All programs are running on the same computer (a single-server deployment).

  • The security requirements for your deployment do not restrict granting one or more of the permissions in the next bulleted list.

By default, adding users from the administration console grants them membership in the following groups in a single-server deployment of Team Foundation Server:

  • Team Foundation Administrators group in Team Foundation Server

  • The IIS_IUSRS and TFS_APPTIER_SERVICE_WPG groups in Internet Information Services (IIS)

  • The Content Manager role in SQL Server Reporting Services, if reporting is configured

  • The Farm Administrators group in SharePoint Products, if the deployment is configured to use SharePT

  • The DBO role and TFSExecRole for all databases that Team Foundation Server uses, including collection databases

Important noteImportant

You cannot add a user to the local Administrators group by adding that user's account as a console user. You must manually add the user to that group before that user will have all the permissions that are required to open and use the console. In addition, if you want the user to have sufficient permissions to create a database as part of creating a team project collection, you must grant that user membership in the serveradmin role in SQL Server.

Granting permissions directly in each program in your deployment of Team Foundation Server is more time-consuming, but you can precisely configure the exact permissions that you want to grant to a user. Consider granting permissions directly in each program when any of the following conditions are true:

  • Your deployment of Team Foundation Server is a multiple-server deployment.

  • Your deployment is in an environment that has security restrictions between Team Foundation Server and the servers that are running SQL Server and SharePoint Products. 

  • You want to configure different group memberships and permissions levels in SharePoint Products, SQL Server Reporting Services, and Team Foundation Server than those that are automatically granted from the administrative console. 

Required Permissions

To perform these procedures, you must belong to the following groups or have the following permissions:

  • Team Foundation Administrators group or have the View instance-level information and Edit instance-level information permissions set to Allow.

  • If you want to add permissions for SQL Server Reporting Services, the Team Foundation Content Managers group or the System Administrators group.

  • If you want to add permissions for SharePoint Products, the Farm Administrators group, the administrators group for the Web application that supports Team Foundation Server, or the SharePoint Administration group. Group membership will depend on the security architecture of your deployment and the group or groups to which you want to add the user.

  • If you want to add role membership for SQL Server, the sysadmin role on each server that hosts databases for Team Foundation Server

Important noteImportant

To perform administrative tasks such as creating team project collections, your user account requires administrative permissions, and the service account that the Team Foundation Background Job Agent uses also must have certain permissions granted to it. 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.

In addition to these permissions, you might need to address the following requirements on a computer that is running Windows Server 2008, Windows Server 2008 R2, Windows Vista or Windows 7:

  • To follow a procedure that requires Internet Explorer, you might need to start it as an administrator by clicking Start, clicking All Programs, right-clicking Internet Explorer, and then clicking Run as administrator.

  • To access Report Manager, reports, or Web sites for SQL Server Reporting Services, you might need to add these sites to the list of trusted sites in Internet Explorer or start Internet Explorer as an administrator.

For more information, see this topic on the Microsoft Web site: User Account Control.

To grant administrative permissions in a trusted environment from the administration console for Team Foundation

  1. Open the administration console for Team Foundation.

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

  2. Expand the server, and then click Application Tier.

  3. In the Administrative Console Users section, click Add.

  4. In Add Team Foundation Server Administration Console User, type the user account that you want to add as a member of Team Foundation Administrators.

    If you are not sure of the alias, click Search. You can also expand the Advanced Features section and modify the selections for Add required permissions to create collections and Add required permissions to change service accounts as best suits your operational needs and the security requirements for the user whom you are adding.

  5. When you are satisfied with your selections, click OK.

  6. Review the progress information in the Add Administration Console User window.

  7. (Optional)When the process completes, click the link to open the log file.

  8. Click Close to return to the administration console.

    Important noteImportant

    You cannot add a user to the local Administrators group by adding that user's account as a console user. You must manually add the user to that group before that user will have all the permissions required to open and use the console. In addition, if you want the user to have permissions sufficient to create a database as part of creating a team project collection, you must grant that user membership in the serveradmin role in SQL Server.

To grant administrative permissions in Team Foundation Server

  1. Open the Global Groups window by performing one of the following sets of steps:

    If you are using Team Explorer:

    1. In Team Explorer, connect to the server that is running Team Foundation Server and for which you are setting permissions.

      For more information, see How to: Connect to a Team Project in Team Foundation Server.

    2. Right-click the server, point to Team Foundation Server Settings, and then click Group Membership.

    3. In the Global Groups window, click Server\Team Foundation Administrators, and then click Properties.

    4. In Add member, click Windows User or Group, and then click Add.

    5. Type the account name of the user whom you want to add to the Team Foundation Administrators group, and then click OK twice.

    6. Click Close to close the Global Groups window.

    If you are using the administration console for Team Foundation:

    1. Open the administration console for Team Foundation.

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

  2. Expand the server, and then click Application Tier.

  3. In the Administrative Console Users section, click Add.

  4. In Add Team Foundation Server Administration Console User, type the user account that you want to add as a member of Team Foundation Administrators.

    If you are not sure of the alias, click Search. You can also expand the Advanced Features section and modify the selections for Add required permissions to create collections and Add required permissions to change service accounts as best suits your operational needs and the security requirements for the user whom you are adding.

  5. When you are satisfied with your selections, click OK.

  6. Review the progress information in the Add Administration Console User window.

  7. (Optional)When the process completes, click the link to open the log file.

  8. Click Close to return to the administration console.

    Important noteImportant

    You cannot add a user to the local Administrators group by adding that user's account as a console user. You must manually add the user to that group before that user will have all the permissions required to open and use the console. In addition, if you want the user to have permissions sufficient to create a database as part of creating a team project collection, you must grant that user membership in the serveradmin role in SQL Server.

To grant administrative permissions in Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007

  1. On the server that is running SharePoint Products, open SharePoint Central Administration.

    For more information, see Access Site Administration or Central Administration for SharePoint Products.

  2. Grant permissions that are appropriate for this user at the farm or the Web application level, depending on your security needs.

    For more information, see Roles in SharePoint Products and the following page on the Microsoft Web site: SharePoint Products Tech Center. For optimum interoperability, consider adding users of the Team Foundation Administrators group to the following groups in SharePoint Products:

    • Farm Administrators

    • Site Collection Administrators group for all site collections that the deployment of Team Foundation Server uses

To grant administrative permissions in Reporting Services

  1. Start Internet Explorer.

    NoteNote

    Even if you are logged on with administrative credentials, you must start Internet Explorer as an administrator to perform this function on a computer that is running Windows Server 2008 or Windows Vista. To start Internet Explorer as an administrator, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator. For more information, see this topic on the Microsoft Web site: User Account Control.

  2. In the Address bar, type the following URL, where ReportServer is the name of the server that is running Reporting Services: http://ReportServer/Reports/Pages/Folder.aspx

    You can find the name of the report server by opening Team Explorer, expanding the Reports node, and viewing the properties of a report.

    Important noteImportant

    If you are using a named instance, you must include its name in the path of the reports. You use the following syntax, where ReportServer is the name of the report server for Team Foundation and InstanceName is the name of the instance of SQL Server: http://ReportServer/Reports_InstanceName/Pages/Folder.aspx

  3. Click the Properties tab, and then click New Role Assignment.

  4. In Group or User Name, type the account name of the user or group to whom you want grant administrative permissions.

  5. In Role, click Team Foundation Content Manager, and then click OK.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft