In Azure Data Factory, is it possible to define link service and dataset with dynamic type?

Choi, Liam (he/him/his) 0 Reputation points
2024-04-22T19:49:53.3066667+00:00

In Data Factory, is it possible to define link service and dataset with dynamic type?

Since the legacy Salesforce connector will soon be deprecated, I want to create a single link service and dataset to support both the legacy and new connector instead of having a if condition in the pipeline to select different activities for different version of the link service.

connector: SalesforceV2 & Salesforce

dataset: SalesforceV2Object & SalesforceObject

I tried to create a dynamic link service but failed to test the connection.

this is how i define the type in the link service arm template.

"type": "@{linkedService().linkServiceType}"

and for dataset, it simply doesn't let me use dynamic type.

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