Manage a Microsoft Dev Box dev center

In this article, you learn how to manage a dev center in Microsoft Dev Box by using the Azure portal.

Development teams vary in the way they function and can have different needs. A dev center helps you manage these scenarios by enabling you to group similar sets of projects together and apply similar settings.

Permissions

To manage a dev center, you need the following permissions:

Action Permissions required
Create or delete a dev center Owner or Contributor permissions on an Azure subscription or a specific resource group.
Manage a dev center Owner or Contributor role, or specific Write permission to the dev center.
Attach or remove a network connection Network Contributor permissions on an existing network connection (Owner or Contributor).

Create a dev center

Your development teams' requirements change over time. You can create a new dev center in Microsoft Dev Box to support organizational changes like a new business requirement or a new regional center.

You can create as many or as few dev centers as you need, depending on how you organize and manage your development teams.

To create a dev center in the Azure portal:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the search results, select Dev centers from the Services list.

    Screenshot that shows the Azure portal with the search box and the result for dev centers.

  3. On the Dev centers page, select Create.

    Screenshot that shows the Azure portal with the Create button on the page for dev centers.

  4. On the Create a dev center pane, on the Basics tab, enter the following values:

    Setting Value
    Subscription Select the subscription in which you want to create the dev center.
    ResourceGroup Select an existing resource group, or select Create new and then enter a name for the new resource group.
    Name Enter a name for your dev center.
    Location Select the location or region where you want the dev center to be created.
    Attach a quick start catalog Clear both checkboxes.

    Screenshot that shows the Basics tab on the pane for creating a dev center.

    For a list of the currently supported Azure locations with capacity, see Frequently asked questions about Microsoft Dev Box.

    The Dev Box quick start catalog contains tasks and scripts that you can use to configure your dev box during the final stage of the creation process. You can attach a quick start catalog to a dev center later. For more information, see Create reusable dev box customizations.

  5. (Optional) On the Tags tab, enter a name/value pair that you want to assign.

    Screenshot that shows the Tags tab on the page for creating a dev center.

  6. Select Review + Create.

  7. On the Review tab, select Create.

  8. Monitor the progress of the dev center creation from any page in the Azure portal by opening the Notifications pane.

    Screenshot that shows the Notifications pane in the Azure portal.

  9. When the deployment completes, select Go to resource. Confirm that the dev center page appears.

Delete a dev center

You might choose to delete a dev center to reflect organizational or workload changes. Deleting a dev center in Microsoft Dev Box is irreversible, and you must prepare for the deletion carefully.

A dev center can't be deleted while any projects are associated with it. You must delete the projects before you can delete the dev center.

Attached network connections and their associated virtual networks aren't deleted when you delete a dev center.

When you're ready to delete your dev center, follow these steps:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the search results, select Dev centers from the Services list.

  3. On the Dev centers page, open the dev center that you want to delete.

  4. Select Delete.

    Screenshot of the Delete button on the page for a dev center.

  5. In the confirmation message, select OK.

Attach a network connection to a dev center

You can attach existing network connections to a dev center. You must attach a network connection to a dev center before you can use it in projects to create dev box pools.

Network connections enable dev boxes to connect to existing virtual networks. The location, or Azure region, of the network connection determines where associated dev boxes are hosted.

To attach a network connection to a dev center in Microsoft Dev Box:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the list of results, select Dev centers.

  3. Select the dev center that you created, and then select Networking.

  4. Select + Add.

  5. On the Add network connection pane, select the network connection that you created earlier, and then select Add.

    Screenshot that shows the pane for adding a network connection.

After you attach a network connection, the Azure portal runs several health checks on the network. You can view the status of the checks on the resource overview page.

Screenshot that shows the status of a network connection.

You can add network connections that pass all health checks to a dev center and use them to create dev box pools. Dev boxes within dev box pools are created and domain joined in the location of the virtual network assigned to the network connection.

To resolve any errors, see Troubleshoot Azure network connections.

Remove a network connection from a dev center

You can remove network connections from dev centers. Network connections can't be removed if one or more dev box pools are using them.

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the list of results, select Dev centers.

  3. Select the dev center that you created, and then select Networking.

  4. Select the network connection that you want to remove, and then select Remove.

    Screenshot that shows the Remove button on the network connection page.

  5. Review the warning message, and then select OK.

After you remove a network connection, it's no longer available for use in dev box pools within the dev center.

Assign permissions for users

You can assign multiple users permissions to a dev center to help with administrative tasks. You can assign users or groups to the following built-in roles:

  • Owner: Grants full access to manage all resources, including the ability to assign roles in Azure role-based access control (RBAC).
  • Contributor: Grants full access to manage all resources, but doesn't allow the user to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries.
  • Reader: Grants the ability to view all resources, but doesn't allow the user to make any changes.

To make role assignments:

  1. Sign in to the Azure portal.

  2. In the search box, enter dev centers. In the list of results, select Dev centers.

  3. Select the dev center that you want to give access to.

  4. On the left menu, select Access Control (IAM).

  5. Select Add > Add role assignment.

  6. Assign a role by configuring the following settings. For detailed steps, see Assign Azure roles using the Azure portal.

    Setting Value
    Role Select Owner, Contributor, or Reader.
    Assign access to Select User, group, or service principal.
    Members Select the users or groups that you want to be able to access the dev center.