Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Assigning a static IP address to a VM

$
0
0

Following these instructions:

https://azure.microsoft.com/en-us/documentation/articles/active-directory-install-replica-active-directory-domain-controller/

Attempting to run the following step:

'Get-AzureVM -ServiceName AzureDC1 -Name AzureDC1 | Set-AzureStaticVNetIP -IPAddress 10.0.0.4 | Update-AzureVM

PS C:\users\user\downloads> Get-AzureVM -ServiceName SERVICENAME -Name COMPUTER1 |Set-AzureStaticVNetIP -IPAddress x.x.x.x |Update-AzureVM

Getting the following error:

Update-AzureVM : BadRequest: The value for parameter 'SubnetNames' is null or empty.

OperationID : '994946d2851d0d2f8024d72243d56dab'

At line:1 char:99

+ ... s x.x.x.x |Update-AzureVM

+                   ~~~~~~~~~~~~~~

    + CategoryInfo         : CloseError: (:) [Update-AzureVM], ComputeCloudException

    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.UpdateAzureVMCommand

Note: The machine is currently turned off.


Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>