Get-AzureResourceGroupGalleryTemplate error: Missing api version query string

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Simon Sabin Simon Sabin 1 year ago.

  • Author
  • #30361
    Profile photo of Pham Quang Huy
    Pham Quang Huy

    Hello everyone
    My name's Huy, from Vietnam, completely newbie to PowerShell (v4&5, with WMF)
    I'm getting used to Azure resource manager. I use cmdlet Get-AzureResourceGroupGalleryTemplate to download the JSON template from Azure but PS return error: Missing api version query string. Allowed values are [2014-09-01,2015-04-01,2015-10-01].
    I added the switch parameter -Debug to the cmdlets and found out that the cmdlet composes a http request to azure without api-version parameter in the absolute uri. That might be the reason.

    Is there anyone experiencing the same error? Any solutions?

  • #30448
    Profile photo of Simon Sabin
    Simon Sabin

    I'm getting the same

You must be logged in to reply to this topic.