You can use an azure policy or to Azure VMs browse experience (select your vms upto 100 in one go), and click on Services --> Change tracking or Inventory. if all vms are in the same region, then it is easy, else you can keep enabling region by region from VM browse experience.