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
Unlike automatic assignment, when you use direct assignment, you must assign the user to both the personal desktop host pool and a specific session host before they can connect to their personal desktop. If the user is only assigned to a host pool without a session host assignment, they won't be able to access resources and will see an error message that says, "No resources available."
64
64
65
-
66
-
67
65
To configure a host pool to require direct assignment of users to session hosts, run the following PowerShell cmdlet:
1. Sign in to the [Azure portal](https://portal.azure.com).
110
-
2. Enter **Azure Virtual Desktop** into the search bar.
111
-
3. Under **Services**, select **Azure Virtual Desktop**.
112
-
4. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
113
-
5. Select the host pool you want to assign users to.
114
-
6. Next, go to the menu on the left side of the window and select **Application groups**.
115
-
7. Select the name of the application group you want to assign users to, then select **Assignments** in the menu on the left side of the window.
116
-
8. Select **+ Add**, then select the users or user groups you want to assign to this application group.
117
-
9. Select **Assign VM** in the Information bar to assign a session host to a user.
118
-
10. Select the session host you want to assign to the user, then select **Assign**. You can also select **Assignment** > **Assign user**.
119
-
11. Select the user you want to assign the session host to from the list of available users.
120
-
12. When you're done, select **Select**.
121
-
To unassign a personal desktop:
122
-
123
118
#### [Azure portal](#tab/azure)
124
119
125
120
To unassign a personal desktop in the Azure portal:
126
121
127
122
1. Sign in to the [Azure portal](https://portal.azure.com).
123
+
128
124
1. Enter **Azure Virtual Desktop** into the search bar.
125
+
129
126
1. Under **Services**, select **Azure Virtual Desktop**.
127
+
130
128
1. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
129
+
131
130
1. Select the host pool you want to modify user assignment for.
131
+
132
132
1. Next, go to the menu on the left side of the window and select **Session hosts**.
133
+
133
134
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**.
134
135
135
136
> [!div class="mx-imgBorder"]
136
137
> 
137
-
138
+
138
139
> [!div class="mx-imgBorder"]
139
140
> 
To reassign a personal desktop in the Azure portal:
167
166
168
167
1. Sign in to the [Azure portal](https://portal.azure.com).
168
+
169
169
1. Enter **Azure Virtual Desktop** into the search bar.
170
+
170
171
1. Under **Services**, select **Azure Virtual Desktop**.
172
+
171
173
1. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
172
174
1. Select the host pool you want to modify user assignment for.
175
+
173
176
1. Next, go to the menu on the left side of the window and select **Session hosts**.
177
+
174
178
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**.
175
179
176
180
> [!div class="mx-imgBorder"]
@@ -180,6 +184,7 @@ To reassign a personal desktop in the Azure portal:
180
184
> 
181
185
182
186
1. Select the user you want to assign the session host to from the list of available users.
0 commit comments