Quickstart: Create and connect to a dev box by using the Microsoft Dev Box developer portal

In this quickstart, you get started with Microsoft Dev Box by creating a dev box through the developer portal. After you create the dev box, you can connect to it with a Remote Desktop session through a browser or through a Remote Desktop app.

You can create and manage multiple dev boxes as a dev box user. Create a dev box for each task that you're working on, and create multiple dev boxes within a single project to help streamline your workflow. For example, you might switch to another dev box to fix a bug in a previous version, or if you need to work on a different part of the application.

Prerequisites

To complete this quickstart, you need:

  • Permissions as a Dev Box User for a project that has an available dev box pool. If you don't have permissions to a project, contact your administrator.

Create a dev box

Microsoft Dev Box enables you to create cloud-hosted developer workstations in a self-service way. You can create and manage dev boxes by using the developer portal.

Depending on the project configuration and your permissions, you have access to different projects and associated dev box configurations.

To create a dev box in the Microsoft Dev Box developer portal:

  1. Sign in to the Microsoft Dev Box developer portal.

  2. Select Get started.

    Screenshot of the developer portal and the button for adding a dev box.

  3. In Add a dev box, enter the following values:

    Name Value
    Name Enter a name for your dev box. Dev box names must be unique within a project.
    Project Select a project from the dropdown list.
    Dev box pool Select a pool from the dropdown list, which includes all the dev box pools for that project.

    Screenshot of the dialog for adding a dev box.

    You see the following information:

    • How many dev boxes you can create in the project that you selected, if the project has limits configured.
    • Whether hibernation is supported or not.
    • A shutdown time if the pool where you're creating the dev box has a shutdown schedule.
  4. Select Create to begin creating your dev box.

  5. Use the dev box tile in the developer portal to track the progress of creation.

    Screenshot of the developer portal that shows the dev box card with a status of Creating.

Important

A dev box is automatically started and running when the creation process finishes. Dev boxes incur costs whenever they're running.

Connect to a dev box

After you create a dev box, you can connect remotely to the developer VM. Microsoft Dev Box supports connecting to a dev box in the following ways:

  • Connect through the browser from within the developer portal
  • Connect by using a remote desktop client application

To connect to a dev box by using the browser:

  1. Sign in to the developer portal.

  2. Select Open in browser.

    Screenshot of dev box card that shows the option for opening in a browser.

A new tab opens with a Remote Desktop session through which you can use your dev box. Use a work or school account to sign in to your dev box, not a personal Microsoft account.

Clean up resources

When you no longer need your dev box, you can delete it:

  1. Sign in to the developer portal.

  2. For the dev box that you want to delete, from the Actions menu, select Delete.

    Screenshot of the dev box Actions menu with the Delete option.

  3. To confirm the deletion, select Delete.

    Screenshot of the confirmation message about deleting a dev box.

In this quickstart, you created a dev box through the developer portal and connected to it by using a browser.