Connect to a project in Azure DevOps or TFS

Azure DevOps Services | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015 | TFS 2013

To share code, build apps, track work, and collaborate with team members, you connect to a project from one of the following clients:

Note

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. Within that collection, one or more projects may be defined. At a minimum, at least one project must be created in order to use the system. For more information, see About projects and scaling your organization.

If you don't have a project yet, create one. If you need to add a team, see Add teams. If you don't have access to the project, get invited to the team.

From each of these clients, you can quickly switch context to a different project and connect under a different sign-in user name. If you work remotely, you can configure your client to connect to a TFS Proxy server.

To get started with a code base, set up Git or set up TFVC.

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 window and enter a URL that uses the following form:

    https://dev.azure.com/OrganizationName/ProjectName 
    http://ServerName:8080/tfs/DefaultCollection/ProjectName

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

    The default Port is 8080. Specify the port number and directory for your server if defaults aren't used.

  3. When you access the server for the first time, a Windows Identity dialog box will appear. Fill in your credentials and choose the OK button.

    Tip

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

  1. From the project summary page, hover over a service and then choose the page of interest. To choose another project, choose the Azure DevOps logo Azure DevOps logo.

    Choose a service page, horizontal nav

  1. Choose your project or team from the set of available links, or choose Browse to access all projects and teams.

    Web portal, TFS, Overview

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

Log on with different credentials

  1. Open Windows Security from the context menu associated with your name.

    Sign in As link in user profile menu

  2. Enter your credentials.

    Enter user name and password to access TFS

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

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

  2. If you're not a member of a TFS security group, get added as one.

  3. Check with a team member to determine the names of the server, project collection, and project that you will connect to.

Visual Studio 2017

Select the connect icon in Team Explorer to open up the Connect page. Choose the Connect to Team Project link to select a project to connect to.

connect to projects

The Connect to a Project dialog will appear and show the projects you can connect to, along with the repos in those projects.

Connect to a Project dialog box

Select the Add Server link to connect to a project in Team Foundation Server. Enter the URL to your TFS server and select Add.

ALM_EXL_AddServer

Select a project from the list and select Connect.

Visual Studio 2015

From the Connect page, choose the Connect to Team Project link to select a different organization, TFS, or project to connect to.

connect to projects
Select the projects that you will work on.

Connect to Team Foundation Server dialog box

If it's your first time connecting, add TFS to the list of recognized servers.

ALM_EXL_AddServer

If you selected just one project, you'll see the Home page for that project. The pages that appear differ based on the resources enabled and the source control system selected for your project.

Team Explorer will display the Home page for that project. The pages that appear differ based on the resources enabled and the source control system selected for your project.

Home page with Git Home page with TFVC
Team Explorer Home page with Git as source control Team Explorer Home page w/ TFVC as source control

To learn more about each page and the tasks you can perform, see Work in Team Explorer.

Your client remembers the set of connections you've configured. You can quickly switch from one project to another from the Connect page.

Change sign-in credentials

Visual Studio 2017

  1. From the Connect page, choose the Connect to Team Project link to sign in with different credentials.

    connect to projects

    Select a different user from the drop-down or select Add an account... to access a project using different sign-in credentials.

    Connect with VS 2017 using different sign-in credentials

  2. Sign in using a valid Microsoft account — an account that is associated with an Azure DevOps Services or TFS project.

Visual Studio 2015

  1. From the Connect page, choose the Connect to Team Project link to sign in with different credentials.

    connect to projects

    The Switch User link appears only when you are actively connected to a project on Azure DevOps Services.

    Connect to Team Foundation Server dialog box

  2. Sign in using a valid Microsoft account — an account that is associated with Azure DevOps Services or a TFS project.

Change sign-in credentials

To run Visual Studio under sign-in credentials that are different from your signed-in Windows account, open the context menu for devenv.exe to access your run as options.

Context menu for Visual Studio devenv.exe

You can locate the executable in the following folder: Drive:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE.

If all you need is a code repository and bug tracking solution, then start with the Git get started guide and Manage bugs.

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

User accounts and licensing

To connect to a project, you need your user account added to the project. This is typically done by the organization owner (Azure DevOps Services) or a project administrator.

Azure DevOps Services provides access to the first 5 account users free. After that, you need to pay for more users.

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.

In addition, you can provide access to stakeholders in your organization who will have limited access to select features as described in Work as a Stakeholder.

Configure Visual Studio to connect to TFS Proxy

If your remote team uses a TFS 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 have connected to TFS as described in the previous section.

  2. From the Visual Studio Tools menu, open the Options dialog and expand the Source Control folder. On the Plug-in Selection page, confirm that Visual Studio Team Foundation Server is selected.

    Plug-in Selection page, Options dialog box

  3. On the Visual Studio Team Foundation Server page, enter the name and port number for the TFS Proxy server. Select the Use SSL encryption (https) to connect checkbox.

    VS TFVC proxy configuration page, Options dialog

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

To Configure User Tools 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 Services and TFS?

In addition to 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 TFS than which your client supports. For more information, see Client compatibility.

Determine your platform or TFS version

See Feedback and support.