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:
- Sign into the Azure portal using an account with the appropriate permissions.
- Select the virtual machine you want to change the license for.
- Go to the Configuration page for the virtual machine.
- 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.
Hello @啓太 黒木
If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!
Hi I hope update for this question.