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
Copy file name to clipboardExpand all lines: articles/virtual-desktop/drain-mode.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,6 @@ If you're using either the Azure portal or PowerShell method, you'll need the fo
22
22
- An Azure account assigned the [Desktop Virtualization Session Host Operator](rbac.md#desktop-virtualization-session-host-operator) role.
23
23
- If you want to use Azure PowerShell locally, see [Use Azure CLI and Azure PowerShell with Azure Virtual Desktop](cli-powershell.md) to make sure you have the the [Az.DesktopVirtualization](/powershell/module/az.desktopvirtualization) PowerShell module installed. Alternatively, use the [Azure Cloud Shell](../cloud-shell/overview.md).
24
24
25
-
If you're enabling drain mode with PowerShell, you'll need to [download and install the Azure Virtual Desktop PowerShell module](powershell-module.md) if you haven't already.
26
25
27
26
## Enable drain mode
28
27
@@ -32,13 +31,21 @@ Here's how to enable drain mode using the Azure portal and PowerShell.
32
31
33
32
To turn on drain mode in the Azure portal:
34
33
35
-
1.Open the Azure portal and go to the host pool you want to isolate.
34
+
1.Sign in to the [Azure portal](https://portal.azure.com).
36
35
37
-
2. In the navigation menu, select **Session hosts**.
36
+
1. Enter **Azure Virtual Desktop** into the search bar.
38
37
39
-
3. Next, select the hosts you want to turn on drain mode for, then select **Turn drain mode on**.
38
+
1. Under **Services**, select **Azure Virtual Desktop**.
40
39
41
-
4. To turn off drain mode, select the host pools that have drain mode turned on, then select **Turn drain mode off**.
40
+
1. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
41
+
42
+
1. Select the host pool you want to isolate.
43
+
44
+
1. In the navigation menu, select **Session hosts**.
45
+
46
+
1. Next, select the hosts you want to turn on drain mode for, then select **Turn drain mode on**.
47
+
48
+
1. To turn off drain mode, select the host pools that have drain mode turned on, then select **Turn drain mode off**.
0 commit comments