Copy files from Azure File Share on one tenant to another tenant (either to another storage account or to locally on a server/VM)

Tenanana-7634 61 Reputation points
2022-03-17T11:47:16.287+00:00

Hi,

Is it possible to somehow automate copying files from Azure File Share that is located in one tenant locally to a server/VM in another tenant?
We have a storage account that stores a file to File Share daily, and a user that has read and list access to the File Share via access policy as they are an external user. The user is currently accessing the share via Storage Explorer.

The question was raised if there is a possibility to automate copying the files from the File Share to some other location in their tenant/network, so that they can avoid copying files manually daily.
We would like to avoid giving any additional persmissions that are not neccessary.

I was just wondering is this douable and any hints will be greatly appriciated.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,163 questions
0 comments No comments
{count} votes

Accepted answer
  1. Carlos Solís Salazar 16,531 Reputation points
    2022-03-17T20:18:42.953+00:00

    Hi @Tenanana-7634

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    You can perform those actions with azcopy.exe

    AzCopy is a command-line utility that you can use to copy blobs or files to or from a storage account

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

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Please "Accept as Answer" and/or Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.

    0 comments No comments

0 additional answers

Sort by: Most helpful