Get-AzureResourceGroupGalleryTemplate error: Missing api version query string

This topic contains 1 reply, has 2 voices, and was last updated by  Simon Sabin 2 years ago.

  • Author
    Posts
  • #30361

    Pham Quang Huy
    Participant

    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

    Simon Sabin
    Participant

    I'm getting the same

You must be logged in to reply to this topic.