Skip to content

Commit 52fe80c

Browse files
committed
Updates and move based on feedback.
1 parent bacbd0b commit 52fe80c

File tree

3 files changed

+31
-49
lines changed

3 files changed

+31
-49
lines changed

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

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ 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: 07/09/2020
6+
ms.date: 02/24/2023
77
ms.author: helohr
88
ms.custom: devx-track-azurepowershell
99
manager: femila
1010
---
11-
# Configure the personal desktop host pool assignment type
11+
# Configure personal desktop host pool assignment
1212

1313
>[!IMPORTANT]
1414
>This content applies to Azure Virtual Desktop with Azure Resource Manager Azure Virtual Desktop objects. If you're using Azure Virtual Desktop (classic) without Azure Resource Manager objects, see [this article](./virtual-desktop-fall-2019/configure-host-pool-personal-desktop-assignment-type-2019.md).
@@ -123,6 +123,33 @@ To reassign a personal desktop in the Azure portal:
123123
8. Select the user you want to assign the session host to from the list of available users.
124124
9. When you're done, select **Select**.
125125

126+
## Give session hosts within a personal host pools a friendly name
127+
128+
You can give personal host pools you create *friendly names* to help users distinguish them in their feeds.
129+
130+
To give a host pool a friendly name, run the following command:
131+
132+
```powershell
133+
$body = @{
134+
'properties.friendlyName' = 'friendlyName'
135+
} | ConvertTo-Json
136+
137+
$subscriptionId = '11111111-1111-1111-1111-111111111111'
138+
$resourceGroupName = 'MyResourceGroupName'
139+
$hostPoolName = 'MyHostPoolName'
140+
141+
$parameters = @{
142+
Method = 'Post'
143+
Path = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/$hostPoolName?api-version=2022-02-10-preview"
144+
Payload = $body
145+
}
146+
147+
Invoke-AzRestMethod @parameters
148+
```
149+
150+
>[!NOTE]
151+
>You can also set the friendly name by using a [REST API](/rest/api/desktopvirtualization/session-hosts/update?tabs=HTTP).
152+
126153
## Next steps
127154

128155
Now that you've configured the personal desktop assignment type, you can sign in to an Azure Virtual Desktop client to test it as part of a user session. These articles will show you how to connect to a session using the client of your choice:

articles/virtual-desktop/create-host-pools-azure-marketplace.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: How to create an Azure Virtual Desktop host pool by using the Azure
44
author: Heidilohr
55
ms.topic: tutorial
66
ms.custom: references_regions, devx-track-azurecli
7-
ms.date: 02/24/2023
7+
ms.date: 08/06/2021
88
ms.author: helohr
99
manager: femila
1010
---
@@ -313,24 +313,6 @@ If you'd rather use an automated process, [download our Azure Resource Manager t
313313
>[!NOTE]
314314
>If you're using an automated process to build your environment, you'll need the latest version of the configuration JSON file.
315315
316-
## Give personal host pools a friendly name
317-
318-
You can give personal host pools you create *friendly names* to help users distinguish them in their feeds.
319-
320-
To give a host pool a friendly name:
321-
322-
1. Sign in to the [Azure portal](https://portal.azure.com).
323-
1. Enter **Azure Virtual Desktop** into the search bar.
324-
1. Under **Services**, select **Azure Virtual Desktop**.
325-
1. At the Azure Virtual Desktop page, go the menu on the left side of the window and select **Host pools**.
326-
1. Select the host pool where the session host you want to rename is located.
327-
1. Select **Session hosts**.
328-
1. Select the name of the session host you’d like to give a friendly name.
329-
1. In the *Friendly name* field, enter the name you’d like to give the session host. If a session host in a personal host pool has a non-null friendly name set, the friendly name will be shown in the feed instead of the application name.
330-
331-
>[!NOTE]
332-
>You can also set the friendly name by using [PowerShell](create-host-pools-powershell.md#give-personal-host-pools-a-friendly-name) or a [REST API](/rest/api/desktopvirtualization/session-hosts/update?tabs=HTTP).
333-
334316
## Next steps
335317

336318
Now that you've made your host pool, you can populate it with RemoteApp programs. To learn more about how to manage apps in Azure Virtual Desktop, head to our next tutorial:

articles/virtual-desktop/create-host-pools-powershell.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create Azure Virtual Desktop host pool - Azure
33
description: How to create a host pool in Azure Virtual Desktop with PowerShell or the Azure CLI.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 02/24/2023
6+
ms.date: 07/23/2021
77
ms.author: helohr
88
ms.custom: devx-track-azurepowershell, devx-track-azurecli
99

@@ -184,33 +184,6 @@ To update the agent:
184184

185185
6. Once you've uninstalled these items, this should remove all associations with the old host pool. If you want to reregister this host to the service, follow the instructions in [Register the virtual machines to the Azure Virtual Desktop host pool](create-host-pools-powershell.md#register-the-virtual-machines-to-the-azure-virtual-desktop-host-pool).
186186

187-
## Give personal host pools a friendly name
188-
189-
You can give personal host pools you create *friendly names* to help users distinguish them in their feeds.
190-
191-
To give a host pool a friendly name, run the following command:
192-
193-
```powershell
194-
$body = @{
195-
'properties.friendlyName' = 'friendlyName'
196-
} | ConvertTo-Json
197-
198-
$subscriptionId = '11111111-1111-1111-1111-111111111111'
199-
$resourceGroupName = 'MyResourceGroupName'
200-
$hostPoolName = 'MyHostPoolName'
201-
202-
$parameters = @{
203-
Method = 'Post'
204-
Path = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/$hostPoolName?api-version=2022-02-10-preview"
205-
Payload = $body
206-
}
207-
208-
Invoke-AzRestMethod @parameters
209-
```
210-
211-
>[!NOTE]
212-
>You can also set the friendly name by using [the Azure portal](create-host-pools-azure-marketplace.md#give-personal-host-pools-a-friendly-name) or a [REST API](/rest/api/desktopvirtualization/session-hosts/update?tabs=HTTP).
213-
214187
## Next steps
215188

216189
Now that you've made a host pool, you can populate it with RemoteApps. To learn more about how to manage apps in Azure Virtual Desktop, see the Manage app groups tutorial.

0 commit comments

Comments
 (0)