Quickstart: Connect to a project in Azure DevOps

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

In this quickstart, you learn how to connect to a project in order to share code, build apps, track work, and collaborate with team members, from one 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. 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.

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 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 appears. 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.

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

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

    Choose a service page, horizontal nav

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

    Choose a service page, horizontal nav

    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.

Sign in 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

  1. Open your profile menu and choose Sign out.

    Sign out

  2. Choose Sign in and enter the new 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

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

  2. If you're not a member of an Azure DevOps security group, get added to one.

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

Visual Studio 2019

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 appears and shows the projects you can connect to, along with the repos in those projects.

Connect to a Project dialog box

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

ALM_EXL_AddServer

Select a project from the list and select Connect.

Change sign-in credentials

Visual Studio 2019

  1. From the Connect page, choose the Connect to a 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 using different sign-in credentials

  2. Sign in using an account that is associated with an Azure DevOps project, either a valid Microsoft account or GitHub account.

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. If you don't see the run as option as shown in the following example, you may need to press SHIFT before right-clicking to see the 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 xx.0\Common7\IDE\

User accounts and licensing for Visual Studio

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 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?

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 Azure DevOps Server than which 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 Git get started guide and Manage bugs.

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