Skip to content

Commit 6e7656d

Browse files
authored
Merge pull request #273292 from RoseHJM/mdb-single-sign-on
MDB - new How-to: single sign-on
2 parents a27cb7e + 074caef commit 6e7656d

File tree

5 files changed

+102
-0
lines changed

5 files changed

+102
-0
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
---
2+
title: Enable single sign-on for dev boxes
3+
titleSuffix: Microsoft Dev Box
4+
description: Learn how to enable single sign-on for dev boxes Edit an existing pool to configure single sign-on for new dev boxes.
5+
services: dev-box
6+
ms.service: dev-box
7+
author: RoseHJM
8+
ms.author: rosemalcolm
9+
ms.date: 04/24/2024
10+
ms.topic: how-to
11+
12+
#customer intent: As a platform engineer, I want to enable single sign-on for dev boxes, so that my dev box users have a smoother sign-on experience.
13+
---
14+
15+
# Enable single sign-on for dev boxes
16+
17+
In this article, you learn how to enable single sign-on (SSO) for dev boxes in Microsoft Dev Box pools.
18+
19+
SSO allows you to skip the credential prompt when connecting to a dev box and automatically sign in to Windows through Microsoft Entra authentication. Microsoft Entra authentication provides other benefits including passwordless authentication and support for third-party identity providers. To get started, review the steps to configure single sign-on.
20+
21+
## Prerequisites
22+
23+
- To enable SSO for dev boxes, you must configure single sign-on for your organization. For more information, see: [Configure single sign-on for Azure Virtual Desktop using Microsoft Entra ID authentication](/azure/virtual-desktop/configure-single-sign-on).
24+
25+
## Enable SSO for dev boxes
26+
27+
Single sign-on is enabled at the pool level. Dev Box supports single sign-on for dev box pools that use Microsoft Entra joined networks, and Microsoft hosted network, but not pools using Microsoft Entra hybrid joined networks.
28+
29+
When you enable SSO for a pool, all new dev boxes created from that pool use SSO. Existing dev boxes continue to use the existing sign-on method. You can enable single sign-on for dev boxes as you create a pool, or an existing pool.
30+
31+
### Enable SSO when creating a new pool
32+
33+
To enable SSO for dev boxes as you create a pool, follow these steps:
34+
35+
1. Sign in to the [Azure portal](https://portal.azure.com).
36+
1. In the search box, enter *projects*.
37+
1. In the list of results, select **Projects**.
38+
1. Select the project in which you want to create the pool.
39+
1. In the left menu, under **Manage**, select **Dev box pools**.
40+
1. In the toolbar, select **Create**.
41+
1. On the **Create pool** page, under **Management**, select **Enable single sign-on**.
42+
43+
:::image type="content" source="./media/how-to-enable-single-sign-on/create-pool-single-sign-on.png" alt-text="Screenshot that shows the Create pool page in Microsoft Dev Box." lightbox="./media/how-to-enable-single-sign-on/create-pool-single-sign-on.png":::
44+
45+
1. Enter the remaining details for your new pool, and then select **Create**.
46+
47+
### Enable SSO for an existing pool
48+
49+
To enable SSO for dev boxes in an existing pool, follow these steps:
50+
51+
1. Sign in to the [Azure portal](https://portal.azure.com).
52+
1. In the search box, enter *projects*.
53+
1. In the list of results, select **Projects**.
54+
1. Select the project that contains the pool you want to enable SSO for.
55+
1. In the left menu, under **Manage**, select **Dev box pools**.
56+
1. Select the pool that you want to enable SSO for.
57+
1. On the line for the pool, at the right end, select **...** and then select **Edit**.
58+
59+
:::image type="content" source="media/how-to-enable-single-sign-on/azure-portal-pool-edit.png" alt-text="Screenshot of the Azure portal showing the list of pools in a project with the menu and edit option highlighted." lightbox="media/how-to-enable-single-sign-on/azure-portal-pool-edit.png":::
60+
61+
1. On the **Edit pool** page, under **Management**, select **Enable single sign-on**, and then select **Save**.
62+
63+
:::image type="content" source="./media/how-to-enable-single-sign-on/edit-pool-single-sign-on.png" alt-text="Screenshot that shows the Edit pool page in Microsoft Dev Box, with Enable single sign-on highlighted." lightbox="./media/how-to-enable-single-sign-on/edit-pool-single-sign-on.png":::
64+
65+
## Disable SSO for dev boxes
66+
67+
You can disable SSO for a pool at any time by deselecting the **Enable single sign-on** option on the **Edit pool** page.
68+
69+
To disable SSO for dev boxes in an existing pool, follow these steps:
70+
71+
1. Sign in to the [Azure portal](https://portal.azure.com).
72+
1. In the search box, enter *projects*.
73+
1. In the list of results, select **Projects**.
74+
1. Select the project that contains the pool you want to disable SSO for.
75+
1. In the left menu, under **Manage**, select **Dev box pools**.
76+
1. Select the pool that you want to disable SSO for.
77+
1. On the line for the pool, at the right end, select **...** and then select **Edit**.
78+
79+
:::image type="content" source="media/how-to-enable-single-sign-on/azure-portal-pool-edit.png" alt-text="Screenshot of the Azure portal showing the list of pools in a project with the menu and edit option highlighted." lightbox="media/how-to-enable-single-sign-on/azure-portal-pool-edit.png":::
80+
81+
1. On the **Edit pool** page, under **Management**, clear **Enable single sign-on**, and then select **Save**.
82+
83+
:::image type="content" source="./media/how-to-enable-single-sign-on/edit-pool-single-sign-on.png" alt-text="Screenshot that shows the Edit pool page in Microsoft Dev Box, with Enable single sign-on highlighted." lightbox="./media/how-to-enable-single-sign-on/edit-pool-single-sign-on.png":::
84+
85+
If you disable single sign-on for a pool, new dev boxes created from that pool prompt the user for credentials. Existing dev boxes continue to use SSO.
86+
87+
## Understand the SSO user experience
88+
89+
When single sign-on is enabled for a pool, your sign-on experience is as follows:
90+
91+
The first time you connect to a dev box with single sign-on enabled, you first sign into your physical machine. Then you connect to your dev box from the Remote Desktop app or the developer portal. When the dev box starts up, you must enter your credentials to access the dev box.
92+
93+
The next time you connect to your dev box, whether through the Remote Desktop app or through the developer portal, you don't have to enter your credentials.
94+
95+
If your connection to your dev box is interrupted because your client machine goes to sleep, you see a message explaining the issue, and you can reconnect by selecting the **Reconnect** button. You don't have to reenter your credentials.
96+
97+
## Related content
98+
99+
- [Configure single sign-on for Windows 365 using Microsoft Entra authentication](/windows-365/enterprise/configure-single-sign-on)
57 KB
Loading
51.9 KB
Loading
71.9 KB
Loading

articles/dev-box/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ items:
7777
href: how-to-dev-box-user.md
7878
- name: Configure conditional access policies
7979
href: how-to-configure-intune-conditional-access-policies.md
80+
- name: Enable single sign-on for dev boxes
81+
href: how-to-enable-single-sign-on.md
82+
displayName: SSO
8083
- name: Manage costs
8184
items:
8285
- name: Request a quota limit increase

0 commit comments

Comments
 (0)