Search code examples
azure-functionsazure-table-storageazure-storage-account

Triggering an event when an Azure Storage Account Table is updated


Azure Storage Accounts can raise events upon uploading a blob or sending a message to its queue to hook up and perform certain tasks. I could not find any similar events in Azure Storage Account Table raising when a row is added, updated or removed. Even there is no Azure functions to support such a scenario. How can this goal be achieved without having to keep polling the table to realize a change in its rows.


Solution

  • Unfortunately, if you want to trigger the azure function directly through the update of table storage, it seems no possible. The azure function itself does not support table storage trigger, and then even the event grid does not support this feature. The following figure shows its processing scope.

    enter image description here

    The correct method should be to pass the event to the queue and use the queue to trigger the function.