NAV2013 on Azure

iansilversiansilvers Member Posts: 38
edited 2013-06-17 in NAV Three Tier
I have just downloaded NAV 2013 Feature Pack 1, as I wanted to have a look at NAV running on Azure.

Using the 2 How-to video presentations, I created an Azure account, created my initial storage, and installed all the required components on my PC. I have downloaded the Azure publish settings, and made all the necessary changes to the Set-PartnerSettings.ps1, but when I try to run the Example-1VM.ps1 powershell script to create my single VM, it is complaining that a certificate must be specified. Here is a partial output from the script execution
VERBOSE: Importing function 'Start-ServiceRemotely'.
VERBOSE: Importing function 'Test-AzureAffinityGroup'.
VERBOSE: Importing function 'Test-AzureVirtualNetwork'.
VERBOSE: Importing function 'Test-PathRemotely'.
VERBOSE: Importing function 'Test-SelfSignedCertificate'.
VERBOSE: Importing function 'Wait-SetupCompletedRemotely'.
VERBOSE: Importing function 'Wait-VMReadyState'.
VERBOSE: Setting: Windows Azure  MSDN - Visual Studio Premium as the default and current subscription. To view other subscriptions use Get-AzureSubscription
VERBOSE: Updated settings for subscription 'Windows Azure MSDN - Visual Studio Premium'. Current subscription is 'Windows Azure MSDN - Visual Studio Premium'.
VERBOSE: Setting: Windows Azure MSDN - Visual Studio Premium as the current subscription. To view other subscriptions use Get-AzureSubscription
VERBOSE: ================================================================================
VERBOSE: HowTo-CreateAzureVM starting at 14:11:15...
VERBOSE: ================================================================================
VERBOSE: 14:11:15 - Begin Operation: Get Deployment
VERBOSE: Creating Azure VM kecNAV at 14:11:15...
New-AzureVM : You MUST specify a certificate. Call Set-AzureSubscription and Select-AzureSubscription first.
At D:\Cloud\Examples\NAVRemoteAdministration\Azure\New-NAVAzureBaseVM.ps1:68 char:38
+         return $AzureVMPreparation | New-AzureVM -ServiceName $ServiceName -Loca ...
+                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzureVM], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.ServiceManagement.IaaS.PersistentVMs.NewAzureVMCommand

As you can see, the subscription has been set, so not sure why the create VM is failing.

Anyone had a similar problem, or suggestions as to how to resolve?

Comments

  • iansilversiansilvers Member Posts: 38
    Finally got it sorted using a new machine to work from. It turns out my PowerShell environment was not properly configured, despite following all the steps outlined.
  • new_axysnew_axys Member Posts: 5
    WOOW i was so excited when i just read you post :D:D i got EXACTLY THE SAME ISSUE, can u tell me detailed what went wrong ?
Sign In or Register to comment.