web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get list of all blobs ...
Power Apps
Answered

Get list of all blobs by folder in powerapp using AzureBlobStorage.ListFolderV4

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Using the Connect to Azure Blob Storage from Power Apps sample and referencing the Lists blobs (V2) SDK documentation, I can create a simple canvas power app that flat-lists all the blobs in my container, but I can't get it to work when trying to list blobs in a folder. For example, if I have:

 

STORAGE_ACCOUNT/CONTAINER/blob1.txt
STORAGE_ACCOUNT/CONTAINER/blob2.txt
STORAGE_ACCOUNT/CONTAINER/folder1/blob3.txt
STORAGE_ACCOUNT/CONTAINER/folder1/blob4.txt

I can flat-list blobs in a container by using the following:

 

AzureBlobStorage.ListFolderV4("STORAGE_ACCOUNT", "CONTAINER", {nextPageMarker: "", useFlatListing: true}).value

however, I have not been able to list the blobs only in 'folder1'. For example, if I try this:

 

AzureBlobStorage.ListFolderV4("STORAGE_ACCOUNT", "CONTAINER/folder1", {nextPageMarker: "", useFlatListing: true}).value

I get an error (this is from inside the 'Items' field in a canvas power app, BTW):

 

The resource you are looking for has been removed, had its name chnages, or is temporarily unavailable

 

Can somebody share some working code showing how to do this?

Categories:
  • sh_jackland Profile Picture
    2 on at

    I'm trying to do the same thing. Did you figure out how to do this?

  • Verified answer
    Dave C Eng Profile Picture
    on at

    We got this working using 

    Filter(AzureBlobStorage.ListFolderV4("STORAGE_ACCOUNT", "CONTAINER", {nextPageMarker: "", useFlatListing: true}).value, "CONTAINER/folder1/" in path)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard