Have you tried this solution?Solution: Remove the plan block in azurerm_linux_virtual_machine resourcehttps://stackoverflow.com/questions/72076412/unable-to-deploy-windows-vm-not-to-be-sold-in-market-usIf that doesn't fix your problem, use our templa...