{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7059","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7059/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7059/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7059/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/7059","id":317073217,"number":7059,"title":"AzureFileCopy VSTS Task - Invalid Api Version","user":{"login":"anevjes","id":9455286,"avatar_url":"https://avatars3.githubusercontent.com/u/9455286?v=4","gravatar_id":"","url":"https://api.github.com/users/anevjes","html_url":"https://github.com/anevjes","followers_url":"https://api.github.com/users/anevjes/followers","following_url":"https://api.github.com/users/anevjes/following{/other_user}","gists_url":"https://api.github.com/users/anevjes/gists{/gist_id}","starred_url":"https://api.github.com/users/anevjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anevjes/subscriptions","organizations_url":"https://api.github.com/users/anevjes/orgs","repos_url":"https://api.github.com/users/anevjes/repos","events_url":"https://api.github.com/users/anevjes/events{/privacy}","received_events_url":"https://api.github.com/users/anevjes/received_events","type":"User","site_admin":false},"labels":[{"id":391088230,"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Release","name":"Area: Release","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"kmkumaran","id":11780076,"avatar_url":"https://avatars2.githubusercontent.com/u/11780076?v=4","gravatar_id":"","url":"https://api.github.com/users/kmkumaran","html_url":"https://github.com/kmkumaran","followers_url":"https://api.github.com/users/kmkumaran/followers","following_url":"https://api.github.com/users/kmkumaran/following{/other_user}","gists_url":"https://api.github.com/users/kmkumaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kmkumaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmkumaran/subscriptions","organizations_url":"https://api.github.com/users/kmkumaran/orgs","repos_url":"https://api.github.com/users/kmkumaran/repos","events_url":"https://api.github.com/users/kmkumaran/events{/privacy}","received_events_url":"https://api.github.com/users/kmkumaran/received_events","type":"User","site_admin":false},"assignees":[{"login":"kmkumaran","id":11780076,"avatar_url":"https://avatars2.githubusercontent.com/u/11780076?v=4","gravatar_id":"","url":"https://api.github.com/users/kmkumaran","html_url":"https://github.com/kmkumaran","followers_url":"https://api.github.com/users/kmkumaran/followers","following_url":"https://api.github.com/users/kmkumaran/following{/other_user}","gists_url":"https://api.github.com/users/kmkumaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kmkumaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmkumaran/subscriptions","organizations_url":"https://api.github.com/users/kmkumaran/orgs","repos_url":"https://api.github.com/users/kmkumaran/repos","events_url":"https://api.github.com/users/kmkumaran/events{/privacy}","received_events_url":"https://api.github.com/users/kmkumaran/received_events","type":"User","site_admin":false},{"login":"KrishnaAdityaB","id":14232392,"avatar_url":"https://avatars1.githubusercontent.com/u/14232392?v=4","gravatar_id":"","url":"https://api.github.com/users/KrishnaAdityaB","html_url":"https://github.com/KrishnaAdityaB","followers_url":"https://api.github.com/users/KrishnaAdityaB/followers","following_url":"https://api.github.com/users/KrishnaAdityaB/following{/other_user}","gists_url":"https://api.github.com/users/KrishnaAdityaB/gists{/gist_id}","starred_url":"https://api.github.com/users/KrishnaAdityaB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrishnaAdityaB/subscriptions","organizations_url":"https://api.github.com/users/KrishnaAdityaB/orgs","repos_url":"https://api.github.com/users/KrishnaAdityaB/repos","events_url":"https://api.github.com/users/KrishnaAdityaB/events{/privacy}","received_events_url":"https://api.github.com/users/KrishnaAdityaB/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-04-24T05:17:38Z","updated_at":"2018-04-24T06:49:29Z","closed_at":null,"author_association":"NONE","body":"As of today - the out of the box FileCopy VSTS task is throwing invalid API version ERROR. Most likely the Azure Storage API was changed in the actual task....\r\n\r\n\r\n018-04-24T05:06:11.6526379Z Task         : Azure File Copy\r\n2018-04-24T05:06:11.6526557Z Description  : Copy files to Azure blob or VM(s)\r\n2018-04-24T05:06:11.6526740Z Version      : 1.0.112\r\n2018-04-24T05:06:11.6526902Z Author       : Microsoft Corporation\r\n2018-04-24T05:06:11.6527127Z Help         : [More Information](https://aka.ms/azurefilecopyreadme)\r\n2018-04-24T05:06:11.6527337Z ==============================================================================\r\n2018-04-24T05:06:16.2842604Z ##[command]Import-Module -Name C:\\Program Files\\WindowsPowerShell\\Modules\\AzureRM\\2.1.0\\AzureRM.psd1 -Global\r\n2018-04-24T05:06:33.9299758Z ##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.\r\n2018-04-24T05:06:33.9359471Z ##[warning]The names of some imported commands from the module 'AzureRM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.\r\n2018-04-24T05:06:33.9679257Z ##[command]Import-Module -Name C:\\Program Files\\WindowsPowerShell\\Modules\\AzureRM.Profile\\2.1.0\\AzureRM.Profile.psm1 -Global\r\n2018-04-24T05:06:34.0346657Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant ******** -Credential System.Management.Automation.PSCredential -EnvironmentName AzureCloud\r\n2018-04-24T05:06:36.5591098Z ##[command] Select-AzureRMSubscription -SubscriptionId XXXXXXXXXXXXXXXXXXXXXXXX -TenantId ********\r\n2018-04-24T05:06:40.9539800Z ##**[error]InvalidApiVersionParameter : The api-version '2018-05-01' is invalid. The supported versions are '2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'.**\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/383822520","html_url":"https://github.com/Microsoft/vsts-tasks/issues/7059#issuecomment-383822520","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7059","id":383822520,"user":{"login":"Vossekop","id":8823799,"avatar_url":"https://avatars0.githubusercontent.com/u/8823799?v=4","gravatar_id":"","url":"https://api.github.com/users/Vossekop","html_url":"https://github.com/Vossekop","followers_url":"https://api.github.com/users/Vossekop/followers","following_url":"https://api.github.com/users/Vossekop/following{/other_user}","gists_url":"https://api.github.com/users/Vossekop/gists{/gist_id}","starred_url":"https://api.github.com/users/Vossekop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vossekop/subscriptions","organizations_url":"https://api.github.com/users/Vossekop/orgs","repos_url":"https://api.github.com/users/Vossekop/repos","events_url":"https://api.github.com/users/Vossekop/events{/privacy}","received_events_url":"https://api.github.com/users/Vossekop/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T06:49:29Z","updated_at":"2018-04-24T06:49:29Z","author_association":"NONE","body":"I would love to try it with Azure PS SDK version 4.4.1. But how do I instruct the task to use that version on my Hosted 2017 agent? It seems to use v2.1.0 by default."}}
{"actor":{"display_login":"Vossekop"}}