Sometimes you may want to get file from Azure Blob to your SharePoint Document library.
I will demonstrate a minimal Power Automate flow to achieve that.
Before you take action, make sure you have Azure blob account and proper access right.
Assume I have one root container, and two sub folders within it.
Initialize variables for Blob account and the root container.
Add Lists blobs (V2).
Add For each.
Select an output from previous steps = @outputs('Lists_blobs_(V2)')?['body/value']
.
Inside of the loop:
Add another Lists blobs (V2), for each sub container/Folder from previous List blobs.
Folder: @items('For_each_folder')?['Path']
Add another For each, which will loop each file from the Sub containers/folders.
Select an output from previous steps: outputs('Lists_blobs_(V2)_for_each_one')?['body/value']
Add Get blob content using path (V2) within the loop
Blob path: @items('For_each_file')?['Path']
Add create file for the SharePoint.
Specify the Folder Path which is from your SharePoint.
File Name = @items('For_each_file')?['DisplayName']
File Content = @body('Get_blob_content_using_path_(V2)')
Whole flow screen shot.
As you can see, it will be quite useful when moving content between SharePoint and Azure Blob.