How to change Windows Server License from Volume license to license provided by Azure

啓太 黒木 0 Reputation points
2023-03-10T10:16:31.54+00:00

Hi

I would like to know how to change Windows Server License on Azure VM.

I would like to change Volume License → License provided by Azure (the cost is included in pay-as-you-go).

I know we can change License provided by Azure → Volume License(which includes SA), but I would like to know reverse way.

Thank you.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,124 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 21,966 Reputation points
    2023-03-10T11:32:57.9066667+00:00

    Hello @啓太 黒木

    Thank you for reaching out to the Microsoft Q&A platform.

    To change the Windows Server license on an Azure VM from a volume license to a license provided by Azure, you can follow the steps below:

    1. Sign into the Azure portal using an account with the appropriate permissions.
    2. Select the virtual machine you want to change the license for.
    3. Go to the Configuration page for the virtual machine.
    4. Under Licensing, toggle the "Azure hybrid benefit" option.

    You can also use the following PowerShell command to change the license type:

    $vm = Get-AzVM -ResourceGroup "rg-name" -Name "vm-name"
    $vm.LicenseType = "None"
    Update-AzVM -ResourceGroupName rg-name -VM $vm
    

    For more information, you can refer to the following document: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/hybrid-use-benefit-licensing

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.