Activate VM on Azure

My VM not activated on Azure on my virtual network !!

I have been configuring a VM’s on Azure and that connected to my premise data-center with S2S VPN.

I created several VM´s in Azure and during that process I connected them to premise network. I noticed that these VM´s was not activated.

ActivateMA_01

The reason for this was that I only added my local DNS in the networking dns settings, and the VM´s points to a KMS in Azure and since the name resolution was not working the VM´s could not be activated.

If you know the reason, solving the problem will become quite easy

There is two way to solve this issue

1- Add KMS IP address to Host Table.

From your any PC have internet access type “ping kms.core.windows.net” on the command prompt

Then you will get the IP address for the KMS server

ActivateMA_02

Modify host file for the VM on Azure

ActivateMA_03

And try to activate again

ActivateMA_04

2- Add a second DNS

add a second DNS server to Azure network configuration

ActivateMA_05

As an example, add the Google dns server, and then start the VM’s; you will see successfully activated

ActivateMA_06

Done ..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s