Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

Get-AzureRMVM in Azure Stack throwing error as api version imcompatible #3631

Closed amarzavery closed 7 years ago

amarzavery commented 7 years ago

Get-AzureRmVM : The resource type 'virtualMachines' could not be found in the namespace 'Microsoft.Compute' for api version '2016-03-30'. The supported api-versions are '2015-06-15'. StatusCode: 404 ReasonPhrase: Not Found OperationID : '812d1a79-5d4a-4dd2-b4ff-f2b98355bd84' At line:1 char:1

amarzavery commented 7 years ago

Originally the customer filed this in xplat cli. So filing one over here.

https://github.com/Azure/azure-xplat-cli/issues/3521

markcowl commented 7 years ago

@harishchakkingal Please use version 1.2.9 with AzureStack.