Is there a possible way to export an "Artifacts ARM Template" from a specific resource?
I have been trying to implement an Azure devops CI/CD Pipeline that migrates artifacts (Pipeline, dataflows and datasets) between Synpase workspaces (i.e. dev, qa, prod) across multiple workspaces without using any Git configuration.

I have already set up this CI/CD system with Git configuration, where I use both TemplateForWorkspace.json and ParametersTemplateForWorkspace.json to deploy into a different Synapse workspace. These files are auto-generated by Synapse’s workspace publish branch feature.
So far, I haven’t been able to replicate these two files, which are absolutely necessary to perform a deployment. I am attempting this because I prefer to use only Synapse Live mode, without enabling Git integration.
The only thing I've managed to obtain so far is a template fetched via an HTTPS request using Azure's REST API. However, this ARM template does NOT include any artifacts, meaning that even if deployed, the Synapse workspace won’t contain the original resource content/artifacts.
ARM Template fetched via HTTPS request:
{
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vulnerabilityAssessments_Default_storageContainerPath": {
"type": "SecureString"
},
"workspaces_synapse_dev_napsty_name": {
"defaultValue": "synapse-dev-napsty",
"type": "String"
},
"storageAccounts_napdatalake_externalid": {
"defaultValue": "/subscriptions/8be7d968-ce5d-402f-84f0-ba21765d77c1/resourceGroups/devrg/providers/Microsoft.Storage/storageAccounts/napdatalake",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Synapse/workspaces",
"apiVersion": "2021-06-01",
"name": "[parameters('workspaces_synapse_dev_napsty_name')]",
"location": "australiaeast",
"identity": {
"type": "SystemAssigned"
},
"properties": {
"defaultDataLakeStorage": {
"resourceId": "[parameters('storageAccounts_napdatalake_externalid')]",
"createManagedPrivateEndpoint": false,
"accountUrl": "https://napdatalake.dfs.core.windows.net",
"filesystem": "napdatalakefs"
},
"encryption": {},
"managedResourceGroupName": "synapseworkspace-managedrg-22275c84-71ba-412c-ac0c-90b1a6f93b4b",
"sqlAdministratorLogin": "sqladminuser",
"privateEndpointConnections": [],
"workspaceRepositoryConfiguration": {
"accountName": "napstyy0227",
"collaborationBranch": "dev",
"lastCommitId": "d2c9d624ec8fd345ef2f8acc84ab64ecfd6c3d79",
"projectName": "AzureSynapse",
"repositoryName": "AzureSynapse",
"rootFolder": "/synapse",
"tenantId": "63ec89f0-780b-4349-8a65-b8c44dddc8dd",
"type": "WorkspaceVSTSConfiguration"
},
"publicNetworkAccess": "Enabled",
"cspWorkspaceAdminProperties": {
"initialWorkspaceAdminObjectId": "94888bea-0df0-4bda-8c43-988d03fb0323"
},
"azureADOnlyAuthentication": false,
"trustedServiceBypassEnabled": false
}
},
{
"type": "Microsoft.Synapse/workspaces/auditingSettings",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/Default')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"retentionDays": 0,
"auditActionsAndGroups": [],
"isStorageSecondaryKeyInUse": false,
"isAzureMonitorTargetEnabled": false,
"state": "Disabled",
"storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000"
}
},
{
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/default')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"azureADOnlyAuthentication": false
}
},
{
"type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/default')]",
"location": "australiaeast",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"minimalTlsVersion": "1.2"
}
},
{
"type": "Microsoft.Synapse/workspaces/extendedAuditingSettings",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/Default')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"retentionDays": 0,
"auditActionsAndGroups": [],
"isStorageSecondaryKeyInUse": false,
"isAzureMonitorTargetEnabled": false,
"state": "Disabled",
"storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000"
}
},
{
"type": "Microsoft.Synapse/workspaces/firewallRules",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/allowAll')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "255.255.255.255"
}
},
{
"type": "Microsoft.Synapse/workspaces/integrationruntimes",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/AutoResolveIntegrationRuntime')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"type": "Managed",
"typeProperties": {
"computeProperties": {
"location": "AutoResolve"
}
}
}
},
{
"type": "Microsoft.Synapse/workspaces/securityAlertPolicies",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/Default')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"state": "Disabled",
"disabledAlerts": [
""
],
"emailAddresses": [
""
],
"emailAccountAdmins": false,
"retentionDays": 0
}
},
{
"type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments",
"apiVersion": "2021-06-01",
"name": "[concat(parameters('workspaces_synapse_dev_napsty_name'), '/Default')]",
"dependsOn": [
"[resourceId('Microsoft.Synapse/workspaces', parameters('workspaces_synapse_dev_napsty_name'))]"
],
"properties": {
"recurringScans": {
"isEnabled": false,
"emailSubscriptionAdmins": true
},
"storageContainerPath": "[parameters('vulnerabilityAssessments_Default_storageContainerPath')]"
}
}
]
}
}