ADF Azure Function Body format

Jay 561 Reputation points
2021-06-02T07:20:40.623+00:00

I'm testing out creating my first Azure Function in ADF and stuck on the body JSON format.
I'm using the output from a filter:

{"name":"@{activity('FilterFilesXML').output}"}

My filter output is:

101655-image1.png

and the input for function is showing this:

101635-image2.png

I'm getting an Error code: 3608
Cause: The Azure function details in the activity definition may be incorrect.
Recommendation: Fix the Azure function details and try again.

So must be my format but can't see were it is wrong, ideas?

Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

Answer accepted by question author
  1. KranthiPakala-MSFT 46,737 Reputation points Microsoft Employee Moderator
    2021-06-03T00:06:24.053+00:00

    Hi @Jay ,

    Thanks for reaching out. Could you please make sure all the Function activity settings are configured accordingly including the linked service?

    Also I would recommend please try with body {"name":"@{activity('FilterFilesXML').output.Value}"} and see if that helps?

    Here is a similar implementation (Azure Function activity) described by a community volunteer. Please have a look at it to see if that helps - Azure Data Factory - Copy the latest file with DATE PART to Folder using AZURE FUNCTIONS

    Do let us know how it goes.

    Thank you

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.