To display the state (Running, Deallocated etc) of our VM's, I currently use the following command and this works fine.
az vm list -o table -d -g ....
With the number of VM's increasing on a regular basis, this is getting very cumbersome. For 200 VM's, I need to run this command 200 times.
Is there an easier way to obtain this information, by querying GraphAPI maybe ?

