Extract data from Http rest api, How to configure http request header for cookie authentication

by Edison   Last Updated September 20, 2019 16:26 PM - source

I need to extract data from Http web API. However it requires cookie authentication. I can get the cookie information when I inspect the chrome browser. But I don't know how to configure the headers and authentication type on Azure Data Factory V2. Can you please provide some details ? (for the token based authentication, I have successfully extracted the data. But cookie one, I don't know how to do it)

Answers 2

Based on the official document, ADF REST Linked Service only supports below authentications:

  • Anonymous,
  • Basic,
  • AAD service principal,
  • managed identities for Azure resources.

enter image description here

cookie authentication is not supported by ADF.

Jay Gong
Jay Gong
September 16, 2019 07:56 AM

So far, the only way Id found to do such thing is to create an Azure Function and do the API call within using HttpClient, and then just add the cookie to the request object.

You will need to optimize how the call to your api is made and also what type of data you will return from the Azure Function Activity.

JLuis Estrada
JLuis Estrada
September 20, 2019 16:25 PM

Related Questions

Continuous running job in Azure

Updated August 11, 2019 07:26 AM