Convert Function app to Data factory rest api connector?

Krishnamohan Nadimpalli 406 Reputation points
2023-01-24T12:18:12.87+00:00

Hi All

I have a function app which pulls data from Rest API, but when I call this from ADF , it errors. So I decided to convert this function app API Pull to Data Factory API Pull.

Following is the code in Function App

User's image

The above function app code , I want to convert into Data Factory Rest API Connector. I have created a REST Linked service with above URL and test connection is success.

Following is the configuration I used in Copy Activity.

User's image

In above function app 4 parameters I used and in this also I am using 4 parameters. It gives error saying "Request URL: https://app.<????????>.com/api/v2/audits/posts. Response: {"error":"access_token is missing, start_date is missing, end_date is missing"},Source=Microsoft.DataTransfer.ClientLibrary,'"

Please let me know how to pass above function app parameters through data factory. And I haven't given anything in Dataset Relative URL

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
{count} votes

Your answer

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