1
votes

Like we have blob trigger or event trigger for the blob created or deleted in Azure blob storage, I need to have a function which is triggered when a file is uploaded or created in file share. Blob storage trigger, event grid trigger doesn't work on Azure file share. Can you please suggest on any custom trigger function or any other way to use the trigger functions on file share?

2

2 Answers

0
votes

No, your requirement is not possiable.

Azure function don't support file share as the condition of the trigger, you can have a look of this:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-triggers-bindings?tabs=csharp#supported-bindings

Can you please suggest on any custom trigger function or any other way to use the trigger functions on file share?

As far as I know, it seems didn't have a service to do this. You can do something like this: After you send the data to the file share, hit other api or hit the something like httptrigger to do something.

0
votes

I am making use of timertrigger to check if the files are created in fileshare. So basically, considering the time difference between 2 timer trigger run, I am checking the new files created and performing further operations.