Azure - Audit/Append Azure Hybrid Benefit using Azure Policy
Introduction Hello All, Happy to see you again in this post. I hope you all know about the Azure hybrid benefit so i'm not doing to deep dive into this. In simple words, If you've Software assurance for the Windows VMs & SQL Servers you can utilize the existing licesense into Azure or Any other cloud. As there is no policy available, the following policy will help you to audit the Hybrid Benefit for the Azure VMs and SQL Managed Instances and we can easily figure out what is complaint and not. So i worked on creating the policy and here is the code that can be used for achieving the AHB audit. #Code stars here, { "mode": "All", "policyRule": { "if": { "anyOf": [ { "allOf": [ { "field":...