I have a REST API call to start/stop VM. I packaged VM and shared with another subscription and created new VM with the shared VHD. When I try to execute start/stop VM code on new VM, getting following exception:
I/O error on POST request for"https://management.azure.com/subscriptions/mysubid/resourceGroups/myresgroup/providers/Microsoft.Compute/virtualMachines/qa1/start": management.azure.com; nested exception is java.net.UnknownHostException: management.azure.com
Any idea how can I solve this?