{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/1371","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1371/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1371/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1371/events","html_url":"https://github.com/Azure/azure-powershell/issues/1371","id":119385225,"number":1371,"title":"Lease after start-azurestorageblobcopy lasts a long time","user":{"login":"bradfulton","id":3935965,"avatar_url":"https://avatars.githubusercontent.com/u/3935965?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfulton","html_url":"https://github.com/bradfulton","followers_url":"https://api.github.com/users/bradfulton/followers","following_url":"https://api.github.com/users/bradfulton/following{/other_user}","gists_url":"https://api.github.com/users/bradfulton/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfulton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfulton/subscriptions","organizations_url":"https://api.github.com/users/bradfulton/orgs","repos_url":"https://api.github.com/users/bradfulton/repos","events_url":"https://api.github.com/users/bradfulton/events{/privacy}","received_events_url":"https://api.github.com/users/bradfulton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-powershell/labels/Storage","name":"Storage","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-29T20:28:20Z","updated_at":"2016-03-25T01:01:41Z","closed_at":null,"body":"I've noticed in the last few weeks (could be longer) that after copying a VHD, when I try to create a VHD to create a VM, I get a message stating that there's still a lease on the blog. After several hours the message goes away and I can proceed. I tried checking the status for the copy, but it always says that it's complete immediately. I'm creating VHD's and VM's with new names, so no conflicts with old VMs. Is there any way of quickly telling when the lease is released? I'm using Azure PowerShell 1.0.1 I think.  It seems like Get-AzureStorageBlobCopyState should indicate whether the copy is actually complete.  \r\n<!---@tfsbridge:{\"tfsId\":5285323}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/201089841","html_url":"https://github.com/Azure/azure-powershell/issues/1371#issuecomment-201089841","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1371","id":201089841,"user":{"login":"EmmaZhu","id":6396650,"avatar_url":"https://avatars.githubusercontent.com/u/6396650?v=3","gravatar_id":"","url":"https://api.github.com/users/EmmaZhu","html_url":"https://github.com/EmmaZhu","followers_url":"https://api.github.com/users/EmmaZhu/followers","following_url":"https://api.github.com/users/EmmaZhu/following{/other_user}","gists_url":"https://api.github.com/users/EmmaZhu/gists{/gist_id}","starred_url":"https://api.github.com/users/EmmaZhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmmaZhu/subscriptions","organizations_url":"https://api.github.com/users/EmmaZhu/orgs","repos_url":"https://api.github.com/users/EmmaZhu/repos","events_url":"https://api.github.com/users/EmmaZhu/events{/privacy}","received_events_url":"https://api.github.com/users/EmmaZhu/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T01:01:41Z","updated_at":"2016-03-25T01:01:41Z","body":"@bradfulton Could you share your repro script? When you start two blob copies, do you mean copying from one source blob to two different destination?"}}