Skip to content

Commit 72ab938

Browse files
committed
Reformatting tabs to make page more organized.
1 parent 7024a87 commit 72ab938

File tree

1 file changed

+31
-20
lines changed

1 file changed

+31
-20
lines changed

articles/virtual-desktop/configure-host-pool-personal-desktop-assignment-type.md

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Azure Virtual Desktop personal desktop assignment type - Azure
33
description: How to configure automatic or direct assignment for an Azure Virtual Desktop personal desktop host pool.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 03/03/2023
6+
ms.date: 03/14/2023
77
ms.author: helohr
88
ms.custom: devx-track-azurepowershell
99
manager: femila
@@ -95,27 +95,31 @@ To directly assign a user to a session host in the Azure portal:
9595
11. Select the user you want to assign the session host to from the list of available users.
9696
12. When you're done, select **Select**.
9797

98-
## Unassign a personal desktop using the Azure portal
98+
## Unassign a personal desktop
99+
100+
To unassign a personal desktop:
101+
102+
#### [Azure portal](#tab/azure)
99103

100104
To unassign a personal desktop in the Azure portal:
101105

102106
1. Sign in to the [Azure portal](https://portal.azure.com).
103-
2. Enter **Azure Virtual Desktop** into the search bar.
104-
3. Under **Services**, select **Azure Virtual Desktop**.
105-
4. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
106-
5. Select the host pool you want to modify user assignment for.
107-
6. Next, go to the menu on the left side of the window and select **Session hosts**.
108-
7. Select the checkbox next to the session host you want to unassign a user from, select the ellipses at the end of the row, and then select **Unassign user**. You can also select **Assignment** > **Unassign user**.
107+
1. Enter **Azure Virtual Desktop** into the search bar.
108+
1. Under **Services**, select **Azure Virtual Desktop**.
109+
1. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
110+
1. Select the host pool you want to modify user assignment for.
111+
1. Next, go to the menu on the left side of the window and select **Session hosts**.
112+
1. Select the checkbox next to the session host you want to unassign a user from, select the ellipses at the end of the row, and then select **Unassign user**. You can also select **Assignment** > **Unassign user**.
109113

110114
> [!div class="mx-imgBorder"]
111115
> ![A screenshot of the unassign user menu option from the ellipses menu for unassigning a personal desktop.](media/unassign.png)
112116
113117
> [!div class="mx-imgBorder"]
114118
> ![A screenshot of the unassign user menu option from the assignment menu for unassigning a personal desktop.](media/unassign-2.png)
115119
116-
8. Select **Unassign** when prompted with the warning.
120+
1. Select **Unassign** when prompted with the warning.
117121

118-
## Unassign a personal desktop using PowerShell
122+
#### [PowerShell](#tab/powershell)
119123

120124
To unassign a personal desktop in PowerShell, run the following command:
121125

@@ -130,28 +134,34 @@ $unassignDesktopParams = @{
130134
}
131135
Invoke-AzRestMethod @unassignDesktopParams
132136
```
137+
---
138+
139+
## Reassign a personal desktop
133140

134-
## Reassign a personal desktop using the Azure portal
141+
To reassign a personal desktop:
142+
143+
#### [Azure portal](#tab/azure)
135144

136145
To reassign a personal desktop in the Azure portal:
146+
137147
1. Sign in to the [Azure portal](https://portal.azure.com).
138-
2. Enter **Azure Virtual Desktop** into the search bar.
139-
3. Under **Services**, select **Azure Virtual Desktop**.
140-
4. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
141-
5. Select the host pool you want to modify user assignment for.
142-
6. Next, go to the menu on the left side of the window and select **Session hosts**.
143-
7. Select the checkbox next to the session host you want to reassign to a different user, select the ellipses at the end of the row, and then select **Assign to a different user**. You can also select **Assignment** > **Assign to a different user**.
148+
1. Enter **Azure Virtual Desktop** into the search bar.
149+
1. Under **Services**, select **Azure Virtual Desktop**.
150+
1. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
151+
1. Select the host pool you want to modify user assignment for.
152+
1. Next, go to the menu on the left side of the window and select **Session hosts**.
153+
1. Select the checkbox next to the session host you want to reassign to a different user, select the ellipses at the end of the row, and then select **Assign to a different user**. You can also select **Assignment** > **Assign to a different user**.
144154

145155
> [!div class="mx-imgBorder"]
146156
> ![A screenshot of the assign to a different user menu option from the ellipses menu for reassigning a personal desktop.](media/reassign-doc.png)
147157
148158
> [!div class="mx-imgBorder"]
149159
> ![A screenshot of the assign to a different user menu option from the assignment menu for reassigning a personal desktop.](media/reassign.png)
150160
151-
8. Select the user you want to assign the session host to from the list of available users.
152-
9. When you're done, select **Select**.
161+
1. Select the user you want to assign the session host to from the list of available users.
162+
1. When you're done, select **Select**.
153163

154-
## Reassign a personal desktop using PowerShell
164+
#### [Azure portal](#tab/powershell)
155165

156166
Before you start, first define the `$reassignUserUpn` variable by running the following command:
157167

@@ -172,6 +182,7 @@ $reassignDesktopParams = @{
172182
}
173183
Invoke-AzRestMethod @reassignDesktopParams
174184
```
185+
---
175186

176187
## Give session hosts in a personal host pool a friendly name
177188

0 commit comments

Comments
 (0)