Unable to activate Azure Hybrid Benefit on PAYG RHEL VM using Azure CLI
Issue
- Issue while enabling the Azure Hybrid Benefit (AHB) in PAYG VM via CLI.
- Enabling the Azure Hybrid Benefit (AHB) fails using Azure CLI but works using Azure Portal UI.
-
Enabling AHB on an existing RHEL PAYG VM via Azure CLI fails with below error:
# az vm update -n MyVm -g MyResourceGroup --license-type RHEL_BYOS az vm update: 'RHEL_BYOS' is not a valid value for '--license-type'. See 'az vm update --help'.
Environment
- Red Hat Cloud Access
- Microsoft Azure
- Azure Hybrid Benefit
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.