Copy the VHD from one Storage account to another Storage account in azure

Today i was looking to copy the VHD from one account to another account (user) . i was looking for the powershell option then i found the AzCopy was useful

Here is steps to do that

Download and install AzCopy

  1. Download the latest version of AzCopy, or the latest preview version.
  2. Run the installation. By default, the AzCopy installation creates a folder named AzCopy under %ProgramFiles(x86)%\Microsoft SDKs\Azure\ (on a machine running 64-bit Windows) or %ProgramFiles%\Microsoft SDKs\Azure\ (on a machine running 32-bit Windows). However, you can change the installation path from the setup wizard.
  3. If desired, you can add the AzCopy installation location to your system path.
  4. Synchronously copy files in Azure File Storage

With the new option /SyncCopy in 4.1.0-Preview version, user can copy files from File Storage to File Storage, from File Storage to Blob Storage and from Blob Storage to File Storage.

AzCopy /Source: /Dest: /SourceKey:key1 /DestKey:key2 /S /SyncCopy

To get the key in Azure portal
  1. In the Management Portal, click Storage, and then click the name of the storage account to open the dashboard.
  2. Click Manage Keys.Manage Access Keys opens.Managekeys
  3. To copy a storage access key, select the key text. Then right-click, and click Copy.