Azcopy 409 Public access is not permitted on this storage account

Lyes Benchoubane 36 Reputation points
2022-01-26T13:19:01.317+00:00

Hello,

I try to copy file from Linux virtual machine on Azure (in a virtual network) to an account storage.

With Azcopy login It's working but I want to make it with SAS token.

I add my virtual network in "Networking".

168686-image.png

And I generate a SAS key in "Shared acces signature"

168669-image.png

On my linux virtual machine I have 10.0.3.4 ip adress.

168719-image.png

    sudo  azcopy cp ./myFile https://backupscanqa.blob.core.windows.net/backup/?<mySASKey>  
  

168658-image.png

In my log I have this:

168751-image.png

I dont know where is the problem because when I try the same thing with oAuth2 connexion with azcopy login it's working.

Thanks for your help !

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,671 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,419 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,136 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 33,141 Reputation points Microsoft Employee
    2022-01-27T19:32:13.84+00:00

    I see you have already received an answer for this issue, adding double quotes to the URL resolved your issue.
    https://stackoverflow.com/questions/70865969/azcopy-409-public-access-is-not-permitted-on-this-storage-account

    0 comments No comments