Yes, it is possible to move files from an SFTP-enabled Azure Storage account to a Blob container using Azure Logic Apps.
To achieve this, you can follow these steps:
- Trigger: Use a "When a files are added or modified (properties only)" trigger on the SFTP path or container.
- Get File Content: Use the "Get file content" action from the SFTP connector.
- Create Blob: Use the "Create blob" action from the Azure Blob Storage connector to write the file to the destination container or folder.
- Delete File: Optionally, use the "Delete file" action from the SFTP connector to remove the original file after successful transfer.
Make sure to establish the necessary connections to your storage account and select the appropriate parameters for each step.
The final Logic App flow looks like this:
Reference for connector documents:
https://learn.microsoft.com/en-us/azure/connectors/connectors-sftp-ssh?tabs=consumption
This setup ensures that any file uploaded via SFTP is automatically picked up and moved to the desired Blob container without manual intervention.