Why it matters
The Windows license is a large part of a Windows VM’s price, and it is not needed for development and test.How nOps finds it
nOps reads the last 14 days of Azure VM and scale set billing for Windows Server license lines. A VM is flagged when it paid the license on at least 7 of those days, was billed in the last 2 days, and at least 90% of its cost is non-production (from its environment tag, then the environment nOps assigns, then the resource group name). The saving is the license cost from the last 7 days, scaled to a month. Services mostly paid with credits and savings under $25 a month are left out. When a VM also qualifies for Azure Hybrid Benefit, nOps shows only the larger of the two, and the saving is shown after any scheduling saving for the same VM.Before you start
An Azure Dev/Test offer (Enterprise Dev/Test or Pay-As-You-Go Dev/Test). Every person who uses the Dev/Test subscription needs an active Visual Studio subscription.How to implement
- Check that everyone who uses the VM has a Visual Studio subscription, and that it runs only development or test work.
- If the recommendation says the subscription is mostly non-production, ask your enterprise or billing admin about moving the subscription itself to the Dev/Test offer.
- Otherwise, create a Dev/Test subscription and move the VM and its resources into it (portal: resource group → Move → Move to another subscription, or
az resource move). - Update Terraform, Bicep or ARM templates and pipelines with the new subscription.
Risks and considerations
- Dev/Test subscriptions have no financially backed SLA and may only run development and test workloads.
- Moving resources between subscriptions locks the source and target resource groups during the move, and some resource types cannot be moved.
- If the VM is also scheduled to run only during working hours, the license saving shrinks with its running hours.
- To roll back, move the resources back to the original subscription.
FAQs
Can I use this and Azure Hybrid Benefit together?
Can I use this and Azure Hybrid Benefit together?
No. Both remove the same Windows license charge, so nOps shows only the larger one for a VM.