I was facing same problem so to resolve this problem I did workaround by using file transform task first before synapse deployment task and transform "TemplateForWorkspace.Json" by overriding variables key like this "resources.4.properties.sqlPool.referenceName" so this will change sqlPool reference name and then we used synapse deployment task with deploy operation.
CICD Synapse SqlPoolStoredProcedure Activity sqlPool Reference
Arthur Steijn
56
Reputation points
Hi,
Any help on how to CICD a SqlPoolStoredProcedure Activity? In the pipeline definition there is an object:
"sqlPool": {
"referenceName": "sqlPool",
"type": "SqlPoolReference"
}
But in the TemplateForWorkspace.json that get's created this object is not there anymore. See below comparison, left side is the created template, right side the pipeline definition:
This means that after deployment, manually the reference to the sqlPool has to be set!?