1

Closed

Error importing azure module into nuget package console

description

I am getting the following error trying to import the azure module into the package manager console.

I am running this on VS2012.3, win 8 x64

Is this a known issue, or are there any workarounds?
PM> import-module azure -Verbose
Loading module from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\azure.psd1'.
Loading 'TypesToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.Websites.Types.ps1xml'.
Loading 'TypesToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.SqlDatabase.Types.ps1xml'.
Loading 'FormatsToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.Websites.format.ps1xml'.
Loading 'FormatsToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.CloudService.format.ps1xml'.
Loading 'FormatsToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.ServiceBus.format.ps1xml'.
Loading 'FormatsToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.Storage.format.ps1xml'.
Loading 'FormatsToProcess' from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure\Microsoft.WindowsAzure.Management.Store.format.ps1xml'.
Loading module from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure.\Microsoft.WindowsAzure.Management.SqlDatabase.dll'.
Importing cmdlet 'Set-AzureSqlDatabaseServerFirewallRule'.
Importing cmdlet 'Get-AzureSqlDatabaseServerFirewallRule'.
Importing cmdlet 'New-AzureSqlDatabaseServerFirewallRule'.
Importing cmdlet 'Remove-AzureSqlDatabaseServerFirewallRule'.
Importing cmdlet 'Remove-AzureSqlDatabase'.
Importing cmdlet 'Get-AzureSqlDatabase'.
Importing cmdlet 'Get-AzureSqlDatabaseServer'.
Importing cmdlet 'New-AzureSqlDatabase'.
Importing cmdlet 'New-AzureSqlDatabaseServer'.
Importing cmdlet 'New-AzureSqlDatabaseServerContext'.
Importing cmdlet 'Remove-AzureSqlDatabaseServer'.
Importing cmdlet 'Set-AzureSqlDatabase'.
Importing cmdlet 'Set-AzureSqlDatabaseServer'.
Loading module from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure.\Microsoft.WindowsAzure.Management.ServiceManagement.dll'.
Importing cmdlet 'Get-AzureAffinityGroup'.
Importing cmdlet 'New-AzureAffinityGroup'.
Importing cmdlet 'Remove-AzureAffinityGroup'.
Importing cmdlet 'Set-AzureAffinityGroup'.
Importing cmdlet 'Add-AzureCertificate'.
Importing cmdlet 'Get-AzureCertificate'.
Importing cmdlet 'Remove-AzureCertificate'.
Importing cmdlet 'Get-AzureServiceDiagnosticsExtension'.
Importing cmdlet 'Get-AzureServiceRemoteDesktopExtension'.
Importing cmdlet 'New-AzureServiceDiagnosticsExtensionConfig'.
Importing cmdlet 'New-AzureServiceRemoteDesktopExtensionConfig'.
Importing cmdlet 'Remove-AzureServiceDiagnosticsExtension'.
Importing cmdlet 'Remove-AzureServiceRemoteDesktopExtension'.
Importing cmdlet 'Set-AzureServiceDiagnosticsExtension'.
Importing cmdlet 'Set-AzureServiceRemoteDesktopExtension'.
Importing cmdlet 'Get-AzureDeployment'.
Importing cmdlet 'Get-AzureOSVersion'.
Importing cmdlet 'Get-AzureLocation'.
Importing cmdlet 'Get-AzureRole'.
Importing cmdlet 'Get-AzureService'.
Importing cmdlet 'Move-AzureDeployment'.
Importing cmdlet 'New-AzureDeployment'.
Importing cmdlet 'New-AzureService'.
Importing cmdlet 'Remove-AzureDeployment'.
Importing cmdlet 'Reset-AzureRoleInstance'.
Importing cmdlet 'Set-AzureDeployment'.
Importing cmdlet 'Set-AzureRole'.
Importing cmdlet 'Set-AzureService'.
Importing cmdlet 'Set-AzureWalkUpgradeDomain'.
Importing cmdlet 'Set-AzureAvailabilitySet'.
Importing cmdlet 'New-AzureCertificateSetting'.
Importing cmdlet 'New-AzureSSHKey'.
Importing cmdlet 'Add-AzureDisk'.
Importing cmdlet 'Add-AzureVMImage'.
Importing cmdlet 'Get-AzureDisk'.
Importing cmdlet 'Get-AzureVMImage'.
Importing cmdlet 'Remove-AzureDisk'.
Importing cmdlet 'Remove-AzureVMImage'.
Importing cmdlet 'Update-AzureDisk'.
Importing cmdlet 'Update-AzureVMImage'.
Importing cmdlet 'Add-AzureDataDisk'.
Importing cmdlet 'Get-AzureDataDisk'.
Importing cmdlet 'Remove-AzureDataDisk'.
Importing cmdlet 'Set-AzureDataDisk'.
Importing cmdlet 'Set-AzureOSDisk'.
Importing cmdlet 'Add-AzureEndpoint'.
Importing cmdlet 'Get-AzureAclConfig'.
Importing cmdlet 'Get-AzureEndpoint'.
Importing cmdlet 'New-AzureAclConfig'.
Importing cmdlet 'Remove-AzureAclConfig'.
Importing cmdlet 'Remove-AzureEndpoint'.
Importing cmdlet 'Set-AzureAclConfig'.
Importing cmdlet 'Set-AzureEndpoint'.
Importing cmdlet 'Set-AzureLoadBalancedEndpoint'.
Importing cmdlet 'Get-AzureDns'.
Importing cmdlet 'Get-AzureSubnet'.
Importing cmdlet 'Get-AzureVNetConfig'.
Importing cmdlet 'Get-AzureVNetConnection'.
Importing cmdlet 'Get-AzureVNetGateway'.
Importing cmdlet 'Get-AzureVNetGatewayKey'.
Importing cmdlet 'Get-AzureVNetSite'.
Importing cmdlet 'New-AzureDns'.
Importing cmdlet 'New-AzureVNetGateway'.
Importing cmdlet 'Remove-AzureVNetConfig'.
Importing cmdlet 'Remove-AzureVNetGateway'.
Importing cmdlet 'Set-AzureSubnet'.
Importing cmdlet 'Set-AzureVNetConfig'.
Importing cmdlet 'Set-AzureVNetGateway'.
Importing cmdlet 'Add-AzureProvisioningConfig'.
Importing cmdlet 'Export-AzureVM'.
Importing cmdlet 'Get-AzureOSDisk'.
Importing cmdlet 'Get-AzureRemoteDesktopFile'.
Importing cmdlet 'Get-AzureVM'.
Importing cmdlet 'Get-AzureWinRMUri'.
Importing cmdlet 'Import-AzureVM'.
Importing cmdlet 'New-AzureQuickVM'.
Importing cmdlet 'New-AzureVM'.
Importing cmdlet 'New-AzureVMConfig'.
Importing cmdlet 'Remove-AzureVM'.
Importing cmdlet 'Restart-AzureVM'.
Importing cmdlet 'Save-AzureVMImage'.
Importing cmdlet 'Set-AzureVMSize'.
Importing cmdlet 'Start-AzureVM'.
Importing cmdlet 'Stop-AzureVM'.
Importing cmdlet 'Update-AzureVM'.
Importing cmdlet 'Add-AzureVhd'.
Importing cmdlet 'Get-AzureStorageAccount'.
Importing cmdlet 'Get-AzureStorageKey'.
Importing cmdlet 'New-AzureStorageAccount'.
Importing cmdlet 'New-AzureStorageKey'.
Importing cmdlet 'Remove-AzureStorageAccount'.
Importing cmdlet 'Save-AzureVhd'.
Importing cmdlet 'Set-AzureStorageAccount'.
Loading module from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure.\Microsoft.WindowsAzure.Management.Storage.dll'.
Importing cmdlet 'Get-AzureStorageBlob'.
Importing cmdlet 'Get-AzureStorageBlobContent'.
Importing cmdlet 'Get-AzureStorageBlobCopyState'.
Importing cmdlet 'Get-AzureStorageContainer'.
Importing cmdlet 'New-AzureStorageContainer'.
Importing cmdlet 'Remove-AzureStorageBlob'.
Importing cmdlet 'Remove-AzureStorageContainer'.
Importing cmdlet 'Set-AzureStorageBlobContent'.
Importing cmdlet 'Set-AzureStorageContainerAcl'.
Importing cmdlet 'Start-AzureStorageBlobCopy'.
Importing cmdlet 'Stop-AzureStorageBlobCopy'.
Importing cmdlet 'New-AzureStorageContext'.
Importing cmdlet 'Get-AzureStorageQueue'.
Importing cmdlet 'New-AzureStorageQueue'.
Importing cmdlet 'Remove-AzureStorageQueue'.
Importing cmdlet 'Get-AzureStorageTable'.
Importing cmdlet 'New-AzureStorageTable'.
Importing cmdlet 'Remove-AzureStorageTable'.
Loading module from path 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\azure.\Microsoft.WindowsAzure.Management.dll'.
import-module : Could not find file 'C:\Users\Eric_2\AppData\Local\assembly\dl3\85OQ1ZH6.J4G\43G6WMYE.P0T\b5fda077\0095deb0_cb71ce01\startup.ps1'.
At line:1 char:1
  • import-module azure -Verbose
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
    • FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
PM>
Closed Jul 19, 2013 at 1:06 AM by deepakverma

comments

dotnetjunky wrote Jul 19, 2013 at 12:35 AM

Please port to the Azure CLI team page.