An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Hello !
Thank you for posting on Microsoft Learn.
When Synapse exports the ARM templates using the publish process, it includes only certain linked service parameters, like accessToken, by default in TemplateParametersForWorkspace.json. Unfortunately, other properties (e.g., domain, newClusterVersion) are hardcoded in the template and not parameterized, unless you manually adjust the template.
You need to manually edit TemplateForWorkspace.json and TemplateParametersForWorkspace.json to add the additional parameters you want to override (like domain).
Find the Linked Service definition (AzureDatabricks1) and change this section:
"domain": "https://adb-4075628429852041.1.azuredatabricks.net",
To:
"domain": "[parameters('AzureDatabricks1_domain')]",
Add a new parameter definition like:
"AzureDatabricks1_domain": {
"type": "string",
"defaultValue": "https://adb-4075628429852041.1.azuredatabricks.net"
}
Now you can override it using OverrideArmParameters in your YAML.
Then you need to update your YAML deployment step like this:
OverrideArmParameters: >
-workspaceName jk-napsty-synapse-qa
-AzureDatabricks1_accessToken $(databricksToken)
-AzureDatabricks1_domain https://adb-qa.azuredatabricks.net
Replace the domain value per environment.
If you want to automate this for multiple environments and linked services, consider writing a small PowerShell or Python script to:
- inject parameters into the template files
- replace static values with parameter references.
- maintain environment-specific override JSON or YAML fragments