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}).valuehowever, 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}).valueI 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?