Reputation: 29756
I am referring to this feedback:
Azure Storage Blob Trigger to fire when files added in Sub Folders
I have a Azure Logic App that is fired every time a blob is added in a container. This works fine when all the documents are at the root of the container.
Inside my container, I have a dynamic number of (virtual) sub-folders.
When I add a new document in a subfolder (path = mysubfolder/mynewdocument.txt
), the logic app is not triggered.
This does not really make sense for me as sub-folders in the blob container are virtual. Does anyone find a workaround except putting all the files at the root level ?
I've opened an issue on Github:
https://github.com/Azure/logicapps/issues/20
Upvotes: 8
Views: 8399
Reputation: 29756
At the time I was developing this feature (early 2018), EventGrid was still in preview so I've ended up using Azure Function - Blob trigger.
I would definitely use EventGrid - Blob Event now and it works for Logic App / Function App or with any Http endpoint.
Upvotes: 1
Reputation: 11050
This is the expected behavior. None of the Logic App Triggers that work with 'files' support subfolders.
This has been the case with BizTalk Server as well since 2000 so I would not expect a change anytime soon :(.
Please create or vote on a User Voice for this issue: User Voice - Logic Apps
Upvotes: 2
Reputation: 24569
This does not really make sense for me as sub-folders in the blob container are virtual. Does anyone find a workaround except putting all the files at the root level ?
I also can reproduce it on my side. I recommend that you could use the Azure function app blob trigger to instead of Azure Logic App blob trigger. Azure blob trigger function could be fired when you add a new document in a subfolder(virtual).
Upvotes: 2