azureazure-data-factoryazure-synapselinked-service

How can I add Azure Synapse Analytics linked service in Data Factory using Python?


I'm creating a Data Factory configuration and a pipeline in Python.

I successfully added Azure Blob Storage and Azure Key Vault to the linked services, but got stuck on adding (serverless)Azure Synapse Analytics, as simply I was not able to find the relevant class within azure.mgmt.datafactory.models. I'm sure I'm something missing, as I could add it flawlessly through UI, so there must be a way to add it within Python?

https://learn.microsoft.com/en-us/python/api/azure-mgmt-datafactory/azure.mgmt.datafactory.models?view=azure-python

Appreciate any help, thanks!


Solution

  • Turned out Synapse can be linked to the Data Factory through AzureSqlDWLinkedService class