
$vnet = Get-AzVirtualNetwork -Name $VNET -ResourceGroupName $ResourceGroup Get-AzVirtualNetwork -Name $VNET -ResourceGroupName $ResourceGroup | Test-AzPrivateIPAddressAvailability -IPAddress $PrivateIP #Check whether the new IP address is available in the virtual network. Select-AzSubscription -SubscriptionId $SubscriptionId $publicIP =Get-AzPublicIpAddress -Name -ResourceGroupName $ResourceGroup #You can ignore the publicIP variable if the VM does not have a public IP associated. Run the following commands: #Set the variables Open an elevated Azure PowerShell session (Run as administrator). Make sure that you have the latest Azure PowerShell installed. If successful, you can change the Private IP address back to the original if you would like. The virtual machine will restart to initialize the new NIC to the system. If the Private IP assignment is not Static, change it to Static.Ĭhange the IP address to another IP address that is available in the Subnet. Select Networking and then select the network Interface of the VM. Reset network interface For VMs deployed in Resource group model

To submit a support request, on the Azure support page, select Get support.

You also can submit an Azure support request. You can post your issue in these forums, or post to on Twitter. If your Azure issue is not addressed in this article, visit the Azure forums on MSDN and Stack Overflow. You manually set a static IP for the NIC.

You disable the default Network Interface (NIC).This article shows how to reset the network interface for Azure Windows VM to resolve issues when you cannot connect to Microsoft Azure Windows Virtual Machine (VM) after:
