Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Get-AzureResourceGroupGalleryTemplate error: "Missing api version query string. Allowed values are [2014-09-01,2015-04-01,2015-10-01]"

$
0
0

Hello,

Reading through this:

https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/

I ran:

Switch-AzureMode AzureResourceManager

and then:

Get-AzureResourceGroupGalleryTemplate -Publisher Microsoft

and I'm getting:

Get-AzureResourceGroupGalleryTemplate : Missing api version query string. Allowed values are [2014-09-01,2015-04-01,2015-10-01]
At line:1 char:1+ Get-AzureResourceGroupGalleryTemplate -Publisher Microsoft+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : CloseError: (:) [Get-AzureResourceGroupGalleryTemplate], CloudException+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.Templates.GetAzureResourceGroupGalleryTemplateCommand


I could swear this was working last week.

What am I doing wrong?

Cross posting this in this forum since it is one of the MSDN Moderated groups, since "Microsoft Azure  >  Azure Automation" does not seem to be.  Here's the other thread: https://social.msdn.microsoft.com/Forums/en-US/7930d59b-5c68-44b8-b555-b0af8f1d5e72/getazureresourcegroupgallerytemplate-error-missing-api-version-query-string-allowed-values-are?forum=azureautomation



Viewing all articles
Browse latest Browse all 4189

Trending Articles



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