Azure Hybrid Benefit: the basics
What are you actually paying twice for?
When you run a Windows or SQL Server workload in Azure at the pay-as-you-go rate, the meter bundles two things together: the compute you consume and a Microsoft licence baked into the hourly price. If your organisation already holds Windows Server, SQL Server or Red Hat and SUSE entitlements on the side, through Software Assurance, a qualifying subscription or a cloud-access programme, you are paying for that licence a second time inside the Azure bill. Azure Hybrid Benefit is the switch that says 'apply the licence I already own', so the meter drops to a base compute rate and stops charging you for software you have already bought.
It is the same capability expressed in three places. A Windows VM carries a 'licenseType' of 'Windows_Server' when the benefit is on, and 'None' or empty when it is not. A Linux VM carries 'RHEL_BYOS' or 'SLES_BYOS' to move from a pay-as-you-go image to bring-your-own-subscription billing. Azure SQL Database and SQL Managed Instance carry a 'licenseType' of 'BasePrice' when the benefit is on and 'LicenseIncluded' when Azure is selling you a fresh licence. Different resource types, different field values, one decision: am I renting a licence I already own?
Most of the missed saving here is drift, not a deliberate choice. A VM deployed from a marketplace image that defaulted to pay-as-you-go, a SQL database created with 'LicenseIncluded' because nobody set the flag, a Linux fleet still on metered images after the team bought Red Hat subscriptions. The work is to find every eligible resource still paying the licence-included rate, confirm you hold the underlying entitlements, and flip the switch, which Microsoft applies with no redeploy and no downtime.
In this lesson you will learn how Azure expresses the Hybrid Benefit across Windows VMs, Linux VMs, Azure SQL Database and SQL Managed Instance, how to find every eligible resource still paying the licence-included rate, and how to flip the benefit on safely without downtime or breaking licence rules. You will see the Azure Advisor signal, the az CLI to inventory and remediate, and a Bicep pattern that makes the benefit the default on new compute.
The discount most estates forget to claim
Azure Hybrid Benefit is widely described as one of the most under-used cost levers in Azure, precisely because nothing breaks when you ignore it. A pay-as-you-go Windows VM runs exactly the same whether the benefit is on or off; the only difference is the hourly rate. So a fleet can run for years quietly paying the licence-included price while the matching Software Assurance sits on a shelf in the procurement system. Microsoft now lets you apply the benefit with no redeploy and no restart, and even centrally manage it across a billing scope, which means the gap between 'eligible' and 'claimed' is usually just a setting nobody flipped.
Finding unclaimed Hybrid Benefit across a subscription
Priya runs the platform team at a company that recently signed an Enterprise Agreement with Software Assurance. Azure Advisor is flagging Hybrid Benefit opportunities, and the Windows and SQL lines on the bill look high for the size of the fleet.
Rather than guess, Priya starts by listing which Windows VMs are still running at the pay-as-you-go licence rate, so the eligible resources can be separated from the ones already on the benefit before anything changes.
Start by listing Windows VMs whose licence type is not yet 'Windows_Server'. These are still paying for a licence you may already own.
A Windows VM with a licence type of 'None' is paying Azure for a Windows Server licence. If you hold Software Assurance, that is recoverable spend on the next billing cycle.
How Azure Hybrid Benefit changes what you are billeddeep dive
The benefit is a single field per resource that switches the meter from a licence-included rate to a base compute rate. On a Windows VM it is 'licenseType': set it to 'Windows_Server' and the hourly price drops to the rate that excludes the Windows Server licence. On a Linux VM the same field takes 'RHEL_BYOS' or 'SLES_BYOS', moving the VM from a pay-as-you-go image to bring-your-own-subscription billing so you pay only for infrastructure and bring your Red Hat or SUSE subscription. On Azure SQL Database and SQL Managed Instance the field is also 'licenseType', with 'BasePrice' meaning the Hybrid Benefit discount is applied and 'LicenseIncluded' meaning Azure is selling you a new SQL Server licence in the price.
Crucially, the change is metadata, not infrastructure. Microsoft documents that switching the licence type does not restart the VM and does not interrupt service, and that enabling the benefit on Azure SQL requires no downtime. The compute keeps running on exactly the same hardware; only the rate the meter applies changes. That is why the saving appears on the next billing cycle rather than after any migration, and why the change is fully reversible by setting the field back.
The constraints are licensing rules, not technical ones. Microsoft requires a minimum of eight core licences per VM for Windows Server even on smaller instances, the underlying entitlements must carry active Software Assurance or be qualifying subscriptions, and Linux bring-your-own-subscription requires the account to be registered with the relevant Red Hat or SUSE programme. SQL Server Hybrid Benefit maps core licences to vCores under documented ratios. The technical switch is trivial; the discipline is confirming you hold enough of the right licences before you claim the benefit against a given resource.
What is the impact of leaving Hybrid Benefit unclaimed?
The direct impact is paying for the same Microsoft licence twice. Every eligible Windows VM, Linux VM or Azure SQL resource left at the licence-included rate, while the organisation holds matching Software Assurance or subscriptions, is buying that licence both inside the Azure meter and through the agreement. Microsoft documents the gap as an average of 36 percent on Windows Server and up to 30 percent or more on Azure SQL Database and Managed Instance, so on a large fleet the unclaimed amount is substantial and it recurs every month it goes unclaimed.
The second-order impact is compounding waste. Because nothing breaks when the benefit is off, an unclaimed estate keeps overpaying quietly, and the overpayment grows as the fleet grows. New VMs deployed from default marketplace images and new databases created with 'LicenseIncluded' add to the gap unless someone remembers to set the flag, so the leak widens over time rather than holding steady.
The opportunity cost is the sharpest impact. Hybrid Benefit is reversible, downtime-free and requires no new purchase, so the money it recovers is the cheapest budget the platform team can find. Leaving it unclaimed means funding genuinely risky or genuinely new work out of new budget while a no-risk recovery sits unused on the bill.
How do you claim Hybrid Benefit safely?
Work the capability as one loop rather than chasing individual resources. The order matters: confirm what you own before you claim it, so you stay inside the licence rules.
1. Confirm entitlement coverage first
Before flipping any switch, establish how many Windows Server and SQL Server core licences with active Software Assurance the organisation holds, and which Red Hat or SUSE subscriptions are registered for cloud use. The benefit may only be applied to cores you are entitled to, with a minimum of eight core licences per Windows VM, so coverage is the real constraint, not the technical change.
2. Inventory every eligible resource still on the metered rate
List the Windows VMs with a licence type other than 'Windows_Server', the Linux VMs not yet on 'RHEL_BYOS' or 'SLES_BYOS', and the Azure SQL Database and Managed Instance resources still on 'LicenseIncluded'. Azure Advisor and the Cost Optimization workbook surface these opportunities directly; treat that list as the recoverable spend.
3. Claim the benefit, largest spend first
Set the licence type on each covered resource: 'Windows_Server' on Windows VMs, the matching BYOS value on Linux VMs, and 'BasePrice' on SQL Database and Managed Instance. The change takes effect with no restart and no downtime, and the saving appears on the next billing cycle. Prioritise the largest, longest-running resources, where the recovery is biggest.
4. Make the benefit the default on new compute
Bake 'licenseType' into your Bicep and Terraform modules so every new eligible VM and SQL resource claims the benefit at deployment, and consider centrally managed Hybrid Benefit at the billing-scope level for SQL so coverage is allocated automatically. This stops the gap reopening as the estate grows.
# Claim Hybrid Benefit on every Windows VM not yet on the benefit.
# No restart, no downtime: only the billed rate changes.
for vm in $(az vm list \
--query "[?storageProfile.osDisk.osType=='Windows' && licenseType!='Windows_Server'].name" \
-o tsv); do
rg=$(az vm show --name "$vm" --query resourceGroup -o tsv 2>/dev/null \
|| az vm list --query "[?name=='$vm'].resourceGroup" -o tsv)
az vm update --resource-group "$rg" --name "$vm" \
--set licenseType=Windows_Server
echo "$vm: Hybrid Benefit applied (Windows_Server)"
done
# Apply the SQL Server Hybrid Benefit to an Azure SQL Database.
az sql db update \
--resource-group myResourceGroup \
--server myServer \
--name myDatabase \
--license-type BasePrice
# Make it the default on new Windows compute (Bicep):
# resource vm 'Microsoft.Compute/virtualMachines@2024-07-01' = {
# name: vmName
# location: location
# properties: {
# licenseType: 'Windows_Server'
# // ...hardwareProfile, storageProfile, osProfile, networkProfile
# }
# } Quick quiz
Question 1 of 5A Windows VM in Azure shows a 'licenseType' of 'None' and the organisation holds Windows Server Software Assurance. What does that combination mean?
You scored
0 / 5
Keep learning
Go deeper on how Azure Hybrid Benefit applies across each compute type in this capability.
- Explore Azure Hybrid Benefit for Windows VMs How the Windows Server benefit works, the eight-core minimum, and applying it with no downtime.
- Explore Azure Hybrid Benefit for Linux VMs Switching RHEL and SUSE VMs to bring-your-own-subscription billing with RHEL_BYOS and SLES_BYOS.
- Azure Hybrid Benefit for Azure SQL Database and SQL Managed Instance How BasePrice and LicenseIncluded work, the vCore ratios, and centrally managed Hybrid Benefit.
You can now treat Azure Hybrid Benefit as one capability rather than three separate flags: confirm what licences you own, inventory every eligible Windows VM, Linux VM and Azure SQL resource still on the metered rate, claim the benefit largest spend first with no downtime, and make it the default on new compute so the recovery sticks. It is the same decision everywhere: stop renting a licence you already own.
Back to the library