Search code examples
azureazcopy

Getting error while copying files between Azure BLOB container using AzCopy


I am trying to copy all files from one container to another. I am using AzCopy to accomplish this task.

AzCopy command as below:

azcopy copy "https://xxxxxxx.blob.core.windows.net/customers" "https://xxxxxxx.blob.core.windows.net/archive" --recursive

Error: enter image description here

Alternatively is it possible to Move files between containers?


Solution

  • Please follow this doc to grant your user account the RBAC role Storage Blob Data Contributor in your account or your containers.

    Besides, there isn't a "move" operation for Azure Blob Storage, you need to delete the original container after copying it.