AzCopy Utility

There are various tools to transfer data within Azure. One of the simplest ones is the AzCopy Command line utility. AzCopy can be used to copy blobs or files to or from a storage account. It can also be used to move files between different containers within the same storage account.

AzCopy is a free download. Before using it with Azure, users need to authenticate their access. There are many ways to do this. Two of the easiest options are:

  1. AzCopy login command: This is a simple command that authenticates the users against Azure Active Directory (AD).
  2. Using Shared Access Signature (SAS) token: SAS tokens can be generated using Azure PowerShell. To use a SAS token with AzCopy, simply append the SAS token to the end of the resource URL.

Depending on the storage type, the supported authentication method differs:

Storage TypeSupported Authorization Method
Blob storageAzure AD and SAS
Blob storage (hierarchical namespace)Azure AD and SAS
File storageSAS only

Besides blobs and files, AzCopy can also be used to transfer data from Amazon Web Services (AWS) S3 buckets storage into Azure. AzCopy can also be used within PowerShell scripts.

For users who prefer to use the graphical interface, Azure Storage Explorer provides an easy to use GUI that uses AzCopy under the hood.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: