You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: How to configure the start virtual machine on connect feature.
4
4
author: Heidilohr
5
5
ms.topic: how-to
6
-
ms.date: 03/31/2021
6
+
ms.date: 04/10/2021
7
7
ms.author: helohr
8
8
manager: femila
9
9
---
@@ -30,8 +30,7 @@ The following remote desktop clients support the Start VM on Connect feature:
30
30
31
31
You can check for announcements about updates and client support on the [Tech Community forum](https://aka.ms/wvdtc).
32
32
33
-
>[!IMPORTANT]
34
-
>The Start VM on Connect feature currently only supports PowerShell and REST API, not the Azure portal. For more information, see [Create or update a host pool](/rest/api/desktopvirtualization/hostpools/createorupdate).
33
+
The Azure Government cloud doesn't currently support Start VM on Connect.
35
34
36
35
## Create a custom role for Start VM on Connect
37
36
@@ -111,6 +110,24 @@ Start VM on Connect is a host pool setting. If you only want a select group of u
111
110
>[!IMPORTANT]
112
111
> You can only configure this feature in existing host pools. This feature isn't available when you create a new host pool.
113
112
113
+
### Use the Azure portal
114
+
115
+
To use the Azure portal to configure Start VM on Connect:
116
+
117
+
1. Open your browser and go to [the Azure portal](https://portal.azure.com/?feature.startVMonConnect=true#home). We recommend you open the Azure portal in an InPrivate window.
118
+
119
+
2. In the Azure portal, go to **Windows Virtual Desktop**.
120
+
121
+
3. Select **Host pools**, then find the host pool that contains the personal desktops you assigned the role to.
122
+
123
+
>[!NOTE]
124
+
> The host pool you configure this feature in must have personal desktops with direct role assignments. If the desktops in the host pool aren't configured correctly, the configuration process won't work.
125
+
126
+
4. In the host pool, select **Properties**. Under **Start VM on connect**, select **Yes**, then select **Save** to instantly apply the setting.
127
+
128
+
> [!div class="mx-imgBorder"]
129
+
> 
130
+
114
131
### Use PowerShell
115
132
116
133
To configure this setting with PowerShell, you need to make sure you have the names of the resource group and host pools you want to configure. You'll also need to install [the Azure PowerShell module (version 2.1.0 or later)](https://www.powershellgallery.com/packages/Az.DesktopVirtualization/2.1.0).
0 commit comments