{"action":"reopened","issue":{"url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/1660","repository_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks","labels_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/1660/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/1660/comments","events_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/1660/events","html_url":"https://github.com/Microsoft/azure-pipelines-tasks/issues/1660","id":153641298,"node_id":"MDU6SXNzdWUxNTM2NDEyOTg=","number":1660,"title":"Azure File Copy Task Fails with Azure PS Version 1.4.0","user":{"login":"thoughtentity","id":208549,"node_id":"MDQ6VXNlcjIwODU0OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/208549?v=4","gravatar_id":"","url":"https://api.github.com/users/thoughtentity","html_url":"https://github.com/thoughtentity","followers_url":"https://api.github.com/users/thoughtentity/followers","following_url":"https://api.github.com/users/thoughtentity/following{/other_user}","gists_url":"https://api.github.com/users/thoughtentity/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtentity/subscriptions","organizations_url":"https://api.github.com/users/thoughtentity/orgs","repos_url":"https://api.github.com/users/thoughtentity/repos","events_url":"https://api.github.com/users/thoughtentity/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtentity/received_events","type":"User","site_admin":false},"labels":[{"id":348504256,"node_id":"MDU6TGFiZWwzNDg1MDQyNTY=","url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/labels/deployment","name":"deployment","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"Ajay-MS","id":16772764,"node_id":"MDQ6VXNlcjE2NzcyNzY0","avatar_url":"https://avatars2.githubusercontent.com/u/16772764?v=4","gravatar_id":"","url":"https://api.github.com/users/Ajay-MS","html_url":"https://github.com/Ajay-MS","followers_url":"https://api.github.com/users/Ajay-MS/followers","following_url":"https://api.github.com/users/Ajay-MS/following{/other_user}","gists_url":"https://api.github.com/users/Ajay-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajay-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajay-MS/subscriptions","organizations_url":"https://api.github.com/users/Ajay-MS/orgs","repos_url":"https://api.github.com/users/Ajay-MS/repos","events_url":"https://api.github.com/users/Ajay-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Ajay-MS/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ajay-MS","id":16772764,"node_id":"MDQ6VXNlcjE2NzcyNzY0","avatar_url":"https://avatars2.githubusercontent.com/u/16772764?v=4","gravatar_id":"","url":"https://api.github.com/users/Ajay-MS","html_url":"https://github.com/Ajay-MS","followers_url":"https://api.github.com/users/Ajay-MS/followers","following_url":"https://api.github.com/users/Ajay-MS/following{/other_user}","gists_url":"https://api.github.com/users/Ajay-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajay-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajay-MS/subscriptions","organizations_url":"https://api.github.com/users/Ajay-MS/orgs","repos_url":"https://api.github.com/users/Ajay-MS/repos","events_url":"https://api.github.com/users/Ajay-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Ajay-MS/received_events","type":"User","site_admin":false},{"login":"vincentdass","id":20121508,"node_id":"MDQ6VXNlcjIwMTIxNTA4","avatar_url":"https://avatars3.githubusercontent.com/u/20121508?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentdass","html_url":"https://github.com/vincentdass","followers_url":"https://api.github.com/users/vincentdass/followers","following_url":"https://api.github.com/users/vincentdass/following{/other_user}","gists_url":"https://api.github.com/users/vincentdass/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentdass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentdass/subscriptions","organizations_url":"https://api.github.com/users/vincentdass/orgs","repos_url":"https://api.github.com/users/vincentdass/repos","events_url":"https://api.github.com/users/vincentdass/events{/privacy}","received_events_url":"https://api.github.com/users/vincentdass/received_events","type":"User","site_admin":false}],"milestone":null,"comments":20,"created_at":"2016-05-08T07:23:36Z","updated_at":"2018-11-01T03:16:42Z","closed_at":null,"author_association":"NONE","body":"When a build agent has Azure PS Cmdlets version `1.4.0` installed the Azure File Copy Task will fail with the following error:\n\n```\nCannot bind argument to parameter 'storageKey' because it is an empty string.\n```\n\nThe previous version of Azure PS Cmdlets `1.3.2` works fine.\n\n---\n\nRaw Task Logs with Azure PS `1.4.0`\n\n```\n2016-05-08T06:24:48.9801943Z Executing the powershell script: C:\\Agent\\tasks\\AzureFileCopy\\1.0.52\\AzureFileCopy.ps1\n2016-05-08T06:24:49.1676994Z Looking for Azure PowerShell module at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ServiceManagement\\Azure\\Azure.psd1\n2016-05-08T06:24:49.9958542Z AzurePSCmdletsVersion= 1.4.0\n2016-05-08T06:24:50.0583559Z Get-ServiceEndpoint -Name ******** -Context Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.TaskContext\n2016-05-08T06:24:50.0739805Z tenantId= ********\n2016-05-08T06:24:50.0739805Z azureSubscriptionId= ********\n2016-05-08T06:24:50.0739805Z azureSubscriptionName= ********\n2016-05-08T06:24:50.2146097Z Add-AzureRMAccount -ServicePrincipal -Tenant ******** -Credential System.Management.Automation.PSCredential\n2016-05-08T06:24:50.7982308Z Select-AzureRMSubscription -SubscriptionId ******** -tenantId ********\n2016-05-08T06:24:51.0235517Z ##[debug]Loading AzureUtilityGTE1.1.0.ps1\n2016-05-08T06:24:57.3994077Z ##[error]Cannot bind argument to parameter 'storageKey' because it is an empty string.\n```\n\nRaw Task Logs with Azure PS `1.3.2`\n\n```\n2016-05-08T06:56:10.0177511Z Executing the powershell script: C:\\Agent\\tasks\\AzureFileCopy\\1.0.52\\AzureFileCopy.ps1\n2016-05-08T06:56:10.2052547Z Looking for Azure PowerShell module at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ServiceManagement\\Azure\\Azure.psd1\n2016-05-08T06:56:11.0646512Z AzurePSCmdletsVersion= 1.3.2\n2016-05-08T06:56:11.1271528Z Get-ServiceEndpoint -Name ******** -Context Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.TaskContext\n2016-05-08T06:56:11.1427777Z tenantId= ********\n2016-05-08T06:56:11.1427777Z azureSubscriptionId= ********\n2016-05-08T06:56:11.1427777Z azureSubscriptionName= ********\n2016-05-08T06:56:11.2834062Z Add-AzureRMAccount -ServicePrincipal -Tenant ******** -Credential System.Management.Automation.PSCredential\n2016-05-08T06:56:11.7897892Z Select-AzureRMSubscription -SubscriptionId ******** -tenantId ********\n2016-05-08T06:56:11.9616688Z ##[debug]Loading AzureUtilityGTE1.1.0.ps1\n2016-05-08T06:56:14.5176791Z Uploading files from source path: 'D:\\Agent\\Work\\326ad65b5\\********.Backend.CI\\Backend\\artifacts\\package.zip' to storage account: '********' in container: '********' with blobprefix: 'deployments/********'\n2016-05-08T06:56:16.7210196Z Uploaded files successfully from source path: 'D:\\Agent\\Work\\326ad65b5\\********.Backend.CI\\Backend\\artifacts\\package.zip' to storage account: '********' in container: '********' with blobprefix: 'deployments/********'\n```\n"}}
{"actor":{"display_login":"kmkumaran"}}