Search code examples
azure-functionsazure-data-factoryazure-blob-trigger

Azure Blob Trigger | request body format


I tried to trigger the Azure blob function through ADF and got the following error. enter image description here

I have an issue with the structure of the request body format. could you please explain the format of the request body?

enter image description here


Solution

  • The error says that blob trigger function cannot be called using ADF, The function only triggers when the blob gets uploaded and it is a behavior of the trigger.

    Even In portal for Blob trigger:

    enter image description here

    If you have http trigger then you can call:

    enter image description here

    If you run Blob trigger from adf it fails as it cannot be called using get, post, put and all, function triggers only when new blob is added in specified container and path :

    enter image description here

    If you call http trigger it will succeeds as it is called by url/rest api:

    enter image description here

    Also refer this SO-thread.