4

I created file share in the azure storage account after that I mount the file share with my windows pc. Next I uploaded the files into file share drive for example (Z://), but whenever I uploaded files into OnPremise file share drive, then I want to trigger either logic app or azure function automatically and give the file/image to computer vision api and store the response into azure SQL database.

For that I followed the below documentations as

Extract Text From Images Using Computer Vision API And Azure Function

Computer Vision

But those are related to azure blob storage, but not an azure file share.

Pradeep
  • 5,101
  • 14
  • 68
  • 140

2 Answers2

3

Actually, there is no trigger for Azure File Share.

Here is a similar post, refer to it. This is the feedback, you could vote it.

Joy Wang
  • 39,905
  • 3
  • 30
  • 54
  • Thanks Joy, can you please tell me is there any alternative way to do the same functionality. – Pradeep Jun 15 '18 at 09:36
  • @pradeep How about azure blob storage? – Joy Wang Jun 15 '18 at 09:48
  • Joy, I did the same functionality using blob storage, it's working fine. But my client asked to use azure file share. – Pradeep Jun 15 '18 at 09:50
  • Joy, Is it possible to implement the same functionality using `External file trigger` in azure functions. – Pradeep Jun 15 '18 at 09:56
  • I am not sure, because the `External file trigger` still in the experiment. I think you could mark it as answer to close the post, and ask for the workaround in another one, it will be easier for others to find it. – Joy Wang Jun 15 '18 at 10:02
1

One possible option is to add diagnostic setting to capture storage write logs and stream it to an event hub. And then you can have an Azure Function or Logic App to act on the events written to Event Hub. Here is an article explaining this approach.