Basically, it will depends on datacenter where you have hosted your VM. The following message means that Standard_D4 is not able in the datacenter where you want to host.
I hope this will help.
Want to become an Azure expert? join Azure certification now!!
Want to know more about Virtual machine? Watch this tutorial on What is Virtual Machine(VM):