Skip to content

Latest commit

 

History

History
283 lines (158 loc) · 13.5 KB

connect-to-projects.md

File metadata and controls

283 lines (158 loc) · 13.5 KB
title titleSuffix description ms.subservice ms.topic ms.assetid ms.author author monikerRange ms.date
Connect to project from browser/supported client
Azure DevOps
Learn how to connect a browser or client, like Visual Studio, to a project in Azure DevOps.
azure-devops-projects
quickstart
1372e56c-b34f-42c2-b72c-94b57620c75c
sdanie
steved0x
<=azure-devops
11/11/2024

Connect to a project

[!INCLUDE version-gt-eq-2019]

Learn how to connect to a project from a client, to share code, build apps, track work, and collaborate with team members. You can connect to a project from 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. For more information, see About projects and scaling your organization.

Prerequisites

Category Requirements
Project membership Project member.
Remote work If you work remotely, configure your client to connect to an Azure DevOps Proxy Server. From each client, you can switch context to a different project and connect as a different user.
Code base setup Set up Git or Set up Team Foundation Version Control (TFVC).

Connect from the web portal

::: moniker range="azure-devops"

  • Sign in to your project (https://dev.azure.com/{Your_Organization}/{Your_Project}). ::: moniker-end

::: moniker range=" < azure-devops"

  • Sign in to your project (http://ServerName/{DefaultCollection}/{Project_Name}). ::: moniker-end

For more information, see Web portal navigation.

Sign in with different credentials

  1. Open your profile menu and select Sign in with a different account.

    [!div class="mx-imgBorder"]
    Screenshot of Sign in with a different account button selected.

  2. Choose Sign in and enter your credentials.

Open the web portal from Team Explorer

Open the web portal from the home page.

Screenshot showing Connecting 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 need the names of the server, project collection, and project to connect to.

  1. Select the Manage Connections icon in Team Explorer, and then Connect to a Project.

    :::image type="content" source="media/team-explorer-connect-to-project-visual-studio-2022.png" alt-text="Screenshot of Connect to projects highlighted for selection.":::

    All the projects that you can connect to are displayed, along with the repos in those projects.

    Screenshot of Connect to a Project dialog box.

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

    Screenshot of server URL field to connect to.

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

Visual Studio 2019

  1. Select the Manage Connections icon in Team Explorer, and then choose Connect to a Project.

    Screenshot of Connect to projects selection.

    All the projects that you can connect to are displayed, along with the repos in those projects

    Screenshot of 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.

    Screenshot of field to enter for server URL.

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

Visual Studio 2017

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

    Screenshot of Connect to projects button to select.

    All the projects that you can connect to are displayed, along with the repos in those projects

    Screenshot of Connect to Project dialog box.

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

    Screenshot of Enter server URL window.

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

Visual Studio 2015

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

    Screenshot of icon and selection to Connect to projects.

  2. Select the projects to work on.

    Screenshot showing selection of projects to work on.

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

    Screenshot of URL entry field for server.

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

Team Explorer displays 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
:::image type="content" source="media/te-home-page-git-repo.png" alt-text="Screenshot of Team Explorer Home page with Git as source control."::: :::image type="content" source="media/te-home-page-tfvc-repo.png" alt-text="Screenshot of Team Explorer Home page w/ TFVC as source control.":::

For more information, see Navigate in Visual Studio Team Explorer.

Your client remembers the set of connections you configure. You can switch from one project to another from the Connect page.


Change sign-in credentials

Visual Studio 2022

  1. Select the Manage Connections icon in Team Explorer, and then Connect to a Project.

    :::image type="content" source="media/team-explorer-connect-to-project-visual-studio-2022.png" alt-text="Screenshot showing Connect to projects highlighted for selection.":::

  2. Select a different user or select Add an account to access a project using different credentials.

    Screenshot of Connect with VS using different credentials to sign in.

  3. Sign in with a Microsoft or GitHub account associated with an Azure DevOps project.

Visual Studio 2019

  1. Select the Manage Connections icon in Team Explorer, and then choose Connect to a Project.

    Screenshot of Sign in with different credentials.

  2. Select a different user or select Add an account to access a project using different credentials.

    Screenshot of Connect with VS using different credentials to sign in.

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

Visual Studio 2017

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

    Screenshot of Sign in with different credentials page.

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

    Screenshot of Connect with VS 2017 using different credentials to sign in.

  3. Sign in using a valid Microsoft account associated with an Azure DevOps project.

Visual Studio 2015

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

    Screenshot of Sign in with different credentials window.

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

    Screenshot of the Connect to Team Foundation Server dialog box.

  2. Sign in using a valid Microsoft account associated with Azure DevOps.


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.

Screenshot of 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 or a member of the Project Administrators group usually adds user accounts. For more information, see Add organization users and manage access or Add or remove users or groups, manage security groups.

::: moniker range="azure-devops" Azure DevOps Services provides access to the first five account users free. After that, you need to pay for more users. ::: moniker-end

You can also provide access to Stakeholders in your organization with limited access to specific features as described in Work as a Stakeholder.

Configure Visual Studio to connect to Azure DevOps Proxy Server

If your remote team uses an 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. Make sure you're connected to Azure DevOps, as described in the previous section.

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

    Screenshot of 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.

    Screenshot of VS TFVC proxy configuration page, Options dialog.

    Make sure you specify the port number that your administrator assigned to Azure DevOps 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.

Requirements and client compatibility

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

Determine your platform version

See Look up your Azure DevOps platform and version.

Next steps

[!div class="nextstepaction"] Get started with Agile tools to plan and track work.

Related articles