If I shutdown a virtual machine in azure, it shows it's status as 'stopped'. But I am still getting billed for cores until I can get the machine into a 'stopped (deallocated)' state.
How do I get the machine to go from 'stopped' to 'stopped (deallocated)' in the management portal?
Found it. So even though the machine is 'stopped' (which means it isn't running) the shutdown button in the management portal is still enabled. Clicking 'Shutdown' moves the virtual machine into a 'stopped(deallocated)' status.
So powering down from inside the virtual machine operating system isn't the same thing as an azure 'shutdown'.
In the new portal, select the "stop" button to get to the deallocated state.