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?