แชร์ผ่าน


Connect to a project in Azure DevOps

TFS 2017 | TFS 2015 | TFS 2013

Learn how to connect to a project to share code, build apps, track work, and collaborate with team members. You can use any of the following clients:

A project defines a process and data storage in which you manage your software projects from planning to deployment. When you connect to a project, you connect to an organization or project collection. One or more projects may be defined within a collection. There must be at least one project. For more information, see About projects and scaling your organization.

Prerequisites

Connect from the web portal

  1. If you're not a member of a security group, ask your Project Administrator to add you.

  2. Open a browser and enter a URL that uses the following form:

    http://ServerName:8080/tfs/DefaultCollection/ProjectName

    For example, to connect to the server named FabrikamPrime, type: http://FabrikamPrime:8080/tfs/DefaultCollection.

    The default Port is 8080. If you don't use default values, specify the port number and directory for your server.

  3. When you access the server for the first time, a Windows Identity dialog box appears. Enter your credentials and choose OK.

    Tip

    If you select Remember me, you won't have to enter your credentials the next time you connect.

  4. Choose your project, team, or page of interest.

    From the project summary page, hover over a service and then choose the page you want. To choose another project, choose the Azure DevOps logo Azure DevOps logo.

    Choose a service page, horizontal nav

To learn more about each page and the tasks you can do, see Web portal navigation.

Sign in with different credentials

  1. Open your profile menu and choose Sign out.

    Sign out

  2. Choose Sign in and enter your credentials.

Open the web portal from Team Explorer

Open the web portal from the home page.

Connect to the web portal

Connect from Visual Studio or Team Explorer

If you haven't already, download and install a version of Visual Studio.

If you're not a member of an Azure DevOps security group, get added to one. Check with a team member. You'll need the names of the server, project collection, and project to connect to.

Visual Studio 2019

  1. Select the Manage Connections button in Team Explorer to open the Connect page. Choose Connect to a Project to select a project to connect to.

    connect to projects

    Connect to a Project shows the projects you can connect to, along with the repos in those projects.

    Connect to a Project dialog box

  2. Select Add Azure DevOps Server to connect to a project in Azure DevOps Services. Enter the URL to your server and select Add.

    ALM_EXL_AddServer

  3. Select a project from the list and select Connect.

Change sign-in credentials

Use different Visual Studio credentials

You can run Visual Studio with credentials different from your current Windows user account. Find devenv.exe under the Program Files (86) folder for your version of Visual Studio.

Select Shift and right-click devenv.exe, then select Run as different user.

Context menu for Visual Studio devenv.exe

User accounts and licensing for Visual Studio

To connect to a project, you need your user account added to the project. The Organization owner for Azure DevOps Services or a member of the Project Administrators group usually adds user accounts. To learn more, see Add organization users and manage access or Add or remove users or groups, manage security groups.

For on-premises TFS, each user account must have a TFS client access license (CAL). All Visual Studio subscriptions and paid Azure DevOps Services users include a TFS CAL. Find out more about licensing from the Team Foundation Server pricing page.

You can also provide access to Stakeholders in your organization who have limited access to select features as described in Work as a Stakeholder.

Configure Visual Studio to connect to Azure DevOps Proxy Server

If your remote team uses a Azure DevOps Proxy Server to cache files, you can configure Visual Studio to connect through that proxy server and download files under Team Foundation version control.

  1. First, make sure that you've connected to Azure DevOps Server as described in the previous section.

  2. From the Visual Studio Tools menu, select Options, then select Source Control > Plug-in Selection. Select Visual Studio Team Foundation Server.

    Plug-in Selection page, Options dialog box

  3. For Visual Studio Team Foundation Server, enter the name and port number for the Azure DevOps Proxy Server. Select Use SSL encryption (https) to connect.

    VS TFVC proxy configuration page, Options dialog

    Make sure you specify the port number that your administrator assigned to TFS Proxy.

To associate a file type with a compare or merge tool, see Associate a file type with a file-comparison tool or Associate a file type with a merge tool.

What other clients support connection to Azure DevOps?

Besides connecting through a web browser, Visual Studio, Eclipse, Excel, and Project you can connect to a project from these clients:

Requirements and client compatibility

Some tasks or features aren't available when you connect to a later version of Azure DevOps Server than your client supports. For more information, see client compatibility.

Determine your platform version

See Feedback and support.

Next steps

Learn more about how to:

If all you need is a code repository and bug tracking solution, then start with the Get Started with Azure Repos and Manage bugs.

To start planning and tracking work, see Get started with Agile tools to plan and track work.