Hi Khaled Mohsen ,
Moving data from Azure Blob Storage to Azure File Share can be efficiently handled using several Azure services. I Suggest few approaches you can consider,
Azure Logic Apps can automate workflows and integrate various services. You can create a Logic App that triggers when a new file is uploaded to Blob Storage and then copies it to the Azure File Share. This approach is straightforward and requires minimal coding.
Azure Functions can be used to create serverless functions that respond to events. You can set up an Azure Function to trigger when a new blob is created in Blob Storage. The function can then copy the file to the Azure File Share using the Azure Storage SDK
Example: Using Azure Functions, for more details, please refer to the document below.
Azure Blob storage trigger for Azure Functions
Azure Blob storage bindings for Azure Functions
Overview of how you can set up an Azure Function to move files:
Create an Azure Function, Set up a new function in the Azure portal. And Use a Blob Storage trigger to start the function when a new file is uploaded. And Write code to copy the file from Blob Storage to Azure File Share using the Azure Storage SDK. And deploy the function and test it to ensure it works as expected.
AzCopy is a command-line utility designed for copying data to and from Azure Storage. You can schedule AzCopy commands using Azure Automation or Azure Container Instances to periodically sync data from Blob Storage to Azure File Share , For more details, please refer to the document below.
Copy or move data to Azure Storage by using AzCopy v10
Transfer data to or from Azure Files by using AzCopy v10
Steps for Using AzCopy with Azure Automation,
Create an Azure Automation Account. And import the necessary modules from the gallery. Create a PowerShell Runbook that uses AzCopy to transfer files. And Schedule the Runbook to run at your desired intervals.
Azure Data Factory is a data integration service that can orchestrate data movement and transformation. You can create a pipeline that moves data from Blob Storage to Azure File Share on a schedule or in response to events. For more details, please refer to the document below.
Move files between file-based storage
Copy and transform data in Azure Blob Storage
Each of these methods has its own advantages, so you can choose the one that best fits your needs and technical comfort level.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you.