Azcopy error "This request is not authorized to perform this operation."

TA  Hyouno picture TA Hyouno · Mar 9, 2020 · Viewed 7.4k times · Source

I copied a container to another storage account based on the document linked below. (DataLake Storage Gen2).

When trying, I got the following error:

this request not authorized to perform this operations using this permission

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10

Answer

Bowman Zhu picture Bowman Zhu · Mar 11, 2020

If you are using AAD Token, this error is telling you that you need to add a role assignment to the user. Please go to Storage account -> Access Control -> Add -> Add role assignment, then add Storage Blob Data Owner to your login account.

enter image description here

If this problem persists, please provide more details.