Never mind! Stupid me. After upgrading to latest version of the nuget-package the property AuthHeaders appeared.
Passing a JObject seems to work. Might be other objects that work as well...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
I generate the data factory via .net api (ie: Microsoft.Azure.Management.DataFactory) but I coming up short on this one thing. That is how to set the Auth Header of a Http Linked service. It is easy using the studio but is very hard to do via the .net API.
In the studio you can just enter the value as illustrated below generating a json-structure.
But in the code there is no such property. I assume you have to try setting AdditionalProperties. But that property wants a Dictionary<string, object> I no matter what I try I can't get it to work. I have tried googling this in many ways but I have found no clue on how to succeed.
Can anyone please help me? How do I set AuthHeaders in the HttpLinkedService-object?
Never mind! Stupid me. After upgrading to latest version of the nuget-package the property AuthHeaders appeared.
Passing a JObject seems to work. Might be other objects that work as well...