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

cannot create new Azure VM with reservedIP

$
0
0

I am able to reserve an IP with PowerShell, but I have been unable to provision the VM from an image with the new IP. here's the Powershell command I used:

PS C:\brandz\site> New-AzureQuickVM –Windows –Location "East US" –ServiceName "mynet" –Name "Legacy" –InstanceSize "Medium" –ImageName "[one of the images in my gallery]" –AdminUsername "admin"–Password "adminPassword123" -ReservedIPName 'LegacyIP' -WaitForBoot

Here's the error I get when running it.

VERBOSE: 11:10:10 PM - Completed Operation: Get Deployment
New-AzureQuickVM : CurrentStorageAccountName is not accessible. Ensure the current storage account is accessible and
in the same location or affinity group as your cloud service.
At line:1 char:1
+ New-AzureQuickVM –Windows –Location "East US" –ServiceName "mynet" –Name "Lega ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzureQuickVM], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.PersistentVMs.NewQuickVM


Viewing all articles
Browse latest Browse all 6513

Latest Images

Trending Articles



Latest Images

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