error with azcopy

aklive 46 Reputation points
2022-08-01T16:50:45.183+00:00

We have a file that is living on a on-premise server, placed behind our VPN firewall. This file needs to be periodically synced with Azure Storage.

  • I have Owner rights and Storage Blob Data Contributor on the Storage and Container respectively
  • Container access level is Private/Also, tried with Anonymous read as well
  • My account has MFA enabled
  • Script "azcopy copy "<local path>" <Blob URL with SAS token> --recursive"

Error I am getting while trying to run the AZCopy: "Request is not authorized to perform this action using this permission" | Code: "Authorization permissions mismatch"

Would appreciate the help. TIA!

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,934 questions
{count} vote

Accepted answer
  1. SaiKishor-MSFT 17,236 Reputation points
    2022-08-01T22:37:31.313+00:00

    @AnupamKapoor-8585 Thanks for reaching out to Microsoft Q&A. I understand that you are getting an error- "Request is not authorized to perform this action using this permission" when trying to run Azcopy.

    Please try to use "Storage Blob Data Owner" permissions and try if that helps. If not, can you please let me know the following?

    1. Did you choose all permissions here? If not, please choose all the permissions and try again. 226847-storage-azcopy.png
    2. Are you using ADLS Gen2?
    3. Are you using User Delegation key?

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.