Listen to this Post
Azure Virtual Desktop (AVD) has introduced an exciting new feature in public preview: the ability to assign multiple personal desktops to a single user within a single host pool. This enhancement allows users to maintain separate desktop environments for different workflows, improving productivity and organizational efficiency.
🔗 Read more: Azure Virtual Desktop Multiple Personal Desktops
You Should Know: Essential Azure Virtual Desktop Commands & Practices
1. Setting Up Multiple Personal Desktops
To configure multiple personal desktops in AVD, use the following PowerShell commands:
<h1>Connect to Azure</h1> Connect-AzAccount <h1>Set the subscription context</h1> Set-AzContext -SubscriptionId "your-subscription-id" <h1>Create a new host pool with personal desktops</h1> New-AzWvdHostPool -ResourceGroupName "YourRG" -Name "MultiDesktopPool" -HostPoolType "Personal" -AssignmentType "Automatic" -DesktopAppGroupName "MultiDesktopAppGroup"
#### **2. Assigning Multiple Desktops to a User**
<h1>Assign a user to multiple desktops</h1> New-AzRoleAssignment -ObjectId "user-object-id" -RoleDefinitionName "Virtual Machine User Login" -ResourceName "YourVM" -ResourceGroupName "YourRG"
#### **3. Managing Session Hosts**
<h1>List all session hosts in a pool</h1> Get-AzWvdSessionHost -HostPoolName "MultiDesktopPool" -ResourceGroupName "YourRG" <h1>Drain mode (prevent new sessions)</h1> Update-AzWvdSessionHost -Name "sessionhost-1" -HostPoolName "MultiDesktopPool" -ResourceGroupName "YourRG" -AllowNewSession:$false
#### **4. Monitoring and Logs**
<h1>Retrieve AVD diagnostic logs</h1> Get-AzWvdDiagnosticSetting -HostPoolName "MultiDesktopPool" -ResourceGroupName "YourRG"
#### **5. Linux Integration (Azure CLI)**
For Linux-based AVD management:
<h1>Login to Azure</h1> az login <h1>List AVD host pools</h1> az desktopvirtualization hostpool list --resource-group "YourRG"
### **What Undercode Say**
Azure Virtual Desktop’s new multi-desktop feature enhances flexibility for power users, developers, and IT admins. However, proper management is key—automate deployments with ARM templates and enforce RBAC policies to avoid clutter.
🔹 Pro Tip: Use Azure Monitor to track session performance and optimize costs.
🔹 Security Check: Always enable Multi-Factor Authentication (MFA) for AVD users.
For advanced users, explore auto-scaling scripts to dynamically adjust VM capacity based on demand.
### **Expected Output:**
A structured, scalable AVD environment with multiple personalized desktops, managed efficiently via PowerShell/Azure CLI, and monitored for performance and security compliance.
🔗 **Additional Resources**:
References:
Reported By: Christiaanbrinkhoff In – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅