Concepts
To apply a Windows client or Windows Server license to a session host in Microsoft Azure Virtual Desktop (formerly known as Windows Virtual Desktop), you can follow these steps. This process involves using the Azure portal and the Azure PowerShell module.
Sign in to the Azure portal
Open your web browser and navigate to the Azure portal (portal.azure.com
). Sign in using your Azure account credentials.
Navigate to your Virtual Desktop deployment
In the Azure portal, search for and select “Virtual Desktop” from the resources list. Choose your Virtual Desktop deployment from the list.
Manage session hosts
In the Virtual Desktop deployment overview, click on “Session hosts” from the left-hand menu. This will display a list of session hosts associated with your deployment.
Select the session host
From the session hosts list, find the session host to which you want to apply the license. Click on the session host to open the session host details page.
Manage licenses
On the session host details page, navigate to the “Manage” section. Here, you can view the current license status and apply a new license.
Apply license
To apply a license, click on the “License” button. This will open the “Windows licensing” blade.
Select license type
In the “Windows licensing” blade, choose the appropriate license type for your session host from the list. You can select either “Windows client” or “Windows Server” depending on your requirements. If you choose “Windows client,” you will also need to specify the specific edition (e.g., Windows 10 Enterprise, Windows 10 Pro).
Confirm licensing terms
Read and understand the licensing terms provided. Ensure that you comply with the licensing requirements and agreements.
Apply the license
After reviewing the licensing terms, click on the “Apply” button to apply the selected license to the session host. This might take a few moments to complete.
Verify license status
Once the license is applied, you can verify the license status by navigating back to the session host details page. In the “Manage” section, you should see the updated license information reflecting the applied license.
Using Azure PowerShell
Install Azure PowerShell module
Open PowerShell or PowerShell ISE with administrative privileges. Run the following command to install the Azure PowerShell module if you haven’t installed it already:
Install-Module -Name Az -AllowClobber -Scope CurrentUser
Connect to your Azure account
Run the following command to connect to your Azure account:
Connect-AzAccount
Set the subscription context
If you have multiple subscriptions, set the appropriate subscription context using the following command:
Set-AzContext -SubscriptionId
Replace
with the ID of the subscription associated with your Virtual Desktop deployment.
Apply license using PowerShell
Run the following command to apply the license to the session host:
Set-RdsHostPool -TenantName
Replace
,
,
, and
with the appropriate values.
is your Azure AD tenant name,
is the name of your host pool,
is the name of the session host virtual machine template, and
is either “WindowsClient” or “WindowsServer” depending on your requirements.
By following the steps outlined above, you can apply a Windows client or Windows Server license to a session host in Microsoft Azure Virtual Desktop. Remember to ensure license compliance and choose the appropriate license type for your needs.
Answer the Questions in Comment Section
A session host in Azure Virtual Desktop requires a separate Windows Server license.
a) True
b) False
Answer: b) False
When a user establishes a connection to a session host in Azure Virtual Desktop, a dedicated Windows client license is assigned to that user.
a) True
b) False
Answer: b) False
Which type of licensing is required to use user-purchased Windows 10 Enterprise licenses on Azure Virtual Desktop?
a) Windows 10 pro
b) Windows 10 Enterprise
c) Windows 10 Enterprise E3
d) Windows 10 Pro in VDA
Answer: d) Windows 10 Pro in VDA
How can you apply a Windows client license to a session host in Azure Virtual Desktop?
a) By activating Windows using a product key
b) By purchasing a separate Windows client license
c) By associating a Windows client license to the Azure Virtual Desktop resource
d) By installing Windows client license software on the session host
Answer: a) By activating Windows using a product key
Which statement is true about license mobility for Azure Virtual Desktop?
a) License mobility is not supported for Azure Virtual Desktop.
b) License mobility allows customers to transfer their existing Windows Server licenses to Azure Virtual Desktop.
c) License mobility is only applicable for Windows 10 Enterprise licenses.
d) License mobility requires a separate licensing agreement with Microsoft.
Answer: b) License mobility allows customers to transfer their existing Windows Server licenses to Azure Virtual Desktop.
Which Azure service is used to manage Windows client licenses for Azure Virtual Desktop?
a) Azure Active Directory
b) Azure Virtual Desktop License Manager
c) Azure License Mobility Center
d) Azure Subscription Management
Answer: a) Azure Active Directory
What is the purpose of using Azure Hybrid Benefit for Windows Server in Azure Virtual Desktop?
a) To reduce the cost of Windows Server licensing in Azure Virtual Desktop
b) To extend the support for Windows Server on Azure Virtual Desktop
c) To enable additional networking features for Windows Server in Azure Virtual Desktop
d) To optimize the performance of Windows Server in Azure Virtual Desktop
Answer: a) To reduce the cost of Windows Server licensing in Azure Virtual Desktop
Can you use the same Windows Server license across multiple session hosts in Azure Virtual Desktop?
a) Yes, one Windows Server license can be used for multiple session hosts.
b) No, each session host requires a separate Windows Server license.
Answer: b) No, each session host requires a separate Windows Server license.
Which Windows operating systems are supported as session hosts in Azure Virtual Desktop? (Select all that apply.)
a) Windows Server 2012 R2
b) Windows Server 2016
c) Windows 10 Enterprise
d) Windows 7
Answer: a) Windows Server 2012 R2, b) Windows Server 2016, c) Windows 10 Enterprise
What happens if a user disconnects from a session host in Azure Virtual Desktop without logging off?
a) The user session remains active on the session host.
b) The user session is terminated and all data is lost.
c) The user session is saved and can be resumed later.
d) The user session is automatically logged off after a specified timeout.
Answer: c) The user session is saved and can be resumed later.
Great post! Really helps clarify the steps for applying a license to a session host.
Can someone explain the difference between Windows client and Windows Server licensing for a session host?
I think it’s important to consider the type of users and workloads when choosing the license type.
The blog post didn’t cover the CAL requirements in detail.
How long does it normally take to apply a Windows Server license to a session host?
Can I use my existing Enterprise Agreement Windows licenses for Azure Virtual Desktop session hosts?
Thanks for the clear explanation!
Is there a licensing guide from Microsoft that gets into these details?