Dela via


Modify or Remove Access Between a SharePoint Web Application and Team Foundation Server

After you grant access between a SharePoint Web application and Visual Studio Team Foundation Server, you can modify or delete either or both access grants. Over time, you might need to modify the access grants in your deployment to reflect changes in your organization. For example, if you change your deployment to use HTTPS and Secure Socket Layer (SSL) instead of HTTP, you must update the access grant for the Web application to reflect these changes.

Note

When you remove an access grant, you should verify whether the service account for the SharePoint Web application is being used by another Web application in the deployment. If it is not, you should remove the account from the SharePoint Web Application Services group.

Required Permissions

To perform these procedures, you must be a member of the Team Foundation Administrators group or your Edit Server-Level Information permission must be set to Allow in Team Foundation Server. You must also be a member of the local Administrators group on each server that hosts the administration console for Team Foundation. For more information about permissions, see Team Foundation Server Permissions.

To modify or delete access from a SharePoint Web application to Team Foundation Server

  1. On the server that is running the Team Foundation Server Extensions for SharePoint Products, open the administration console for Team Foundation, and expand the tree.

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

  2. Under Team Foundation, click Extensions for SharePoint Products.

  3. In the Grant access to a SharePoint Web application for Team Foundation Server pane, click the access grant that you want to modify, and then perform one of the following sets of steps:

    • Click Modify access, change the access grant, and then click OK.

    • Click Remove access, and in the confirmation dialog box, click Yes.

To modify or delete access from Team Foundation Server to a SharePoint Web application

  1. On the server where you have installed the application tier for Team Foundation Server, open the administration console for Team Foundation, and expand the tree.

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

  2. Under Team Foundation, click SharePoint Web Applications.

  3. In the SharePoint Web Applications pane, click the access grant that you want to modify or delete, and perform one of the following steps:

    • Click Change, change the access grant, and then click OK.

      Note

      Any changes that you make to the access settings for the Web application might have a significant impact on the team projects and team project collections that use this SharePoint Web application. On the Dependents tab, you can review the list of collections and projects that use this Web application. You should consider verifying whether each of these sites still operates as you expect after you modify the Web application.

    • Click Remove. In the Remove SharePoint Web Application dialog box, click Yes if you are sure that you want to remove access to the Web application. If you are not sure, click No.

      Important

      When you removing a Web application, you will have a significant impact on any team projects and team project collections that use this SharePoint Web application. If you remove access for a SharePoint Web application, any team project or team project collection that uses this Web application will lose whatever SharePoint libraries or team project portals that were hosted on that Web application. Before you remove a Web application, you should make sure that you understand what projects and collections will be affected. To review the list of collections and projects that use this Web application, you click the access grant, click Change, and click the Dependents tab. Before you remove access for the Web application, you should consider verifying whether any of these sites is still needed.

Remove the Service Account for the SharePoint Web Application

When you remove a SharePoint Web application or change the service account that a Web application uses, you might still need to manually remove its service account. If a service account is no longer used by any SharePoint Web application in the deployment, you should remove that service account from the SharePoint Web Application Services group in Team Foundation Server.

To remove a service account for a SharePoint Web application from SharePoint Web Application Services

  1. On the server where you have installed the application tier for Team Foundation Server, open the administration console for Team Foundation, and expand the tree.

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

  2. Under Team Foundation, click SharePoint Web Applications.

  3. In the SharePoint Web Applications pane, in the Service Accounts for SharePoint Web Applications section, click the service account that you want to remove, and click Remove.

    Important

    You will not be asked to verify the removal of the service account. Make sure that you have clicked the service account that you intend to remove before you click Remove. If you remove the wrong service account, the portals that use the SharePoint Web application might stop functioning correctly. You can re-add the service account at any time.

See Also

Tasks

Add a SharePoint Web Application to Your Deployment

Open the Team Foundation Administration Console

Concepts

Team Foundation Server Permissions

The Team Foundation Administration Console

Other Resources

Configuring Resources to Support Team Projects