Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Issue setting IP address for VM

$
0
0

I am getting the error below even after confirming that IP address is available

PS C:\> Get-AzureVM -ServiceName XXXXX -Name BESAPP | Set-AzureStaticVNetIP -IPAddress 10.0.0.10 | Update-AzureVM
VERBOSE: 8:16:26 a.m. - Completed Operation: Get Deployment
VERBOSE: 8:16:28 a.m. - Completed Operation: Get Deployment
VERBOSE: 8:16:28 a.m. - Begin Operation: Update-AzureVM
Update-AzureVM : BadRequest: The value for parameter 'SubnetNames' is null or empty.
At line:1 char:93
+ ... ss 10.0.0.10 | Update-AzureVM
+                    ~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Update-AzureVM], CloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.UpdateAzureVMCommand


Viewing all articles
Browse latest Browse all 12545

Trending Articles



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