Hello @Alok Thampi ,
Thanks for the reply.
My understanding is that when you use the 'Validate and Deploy’ option, by default it points to workspace_publish for the template parameters(same as the deploy option).
TemplateParametersForWorkspace.json file containing a global parameter for your workspace name and a parameter for each workspace
ex: default linked service: the default SQL Server and the default Storage account.
But if you check the TemplateForWorkspace.json in your publish branch, you will find several other properties(the artifact whose properties are not exposed by the default workspace parameters template.)
If you need to override the artifact properties that are not parameterized by the default parameters template(TemplateParametersforworkspace.json), then you need to use "custom parameters template".
To override the default parameter template, create a custom parameter template named template-parameters-definition.json in the root folder of your Git branch. You must use this exact file name. When Azure Synapse workspace publishes from the collaboration branch or the deployment task validates the artifacts in other branches, it reads this file and uses its configuration to generate the parameters. If Azure Synapse workspace doesn't find that file, is uses the default parameter template.
Ex: The below code in the custom template-parameters-defintion.json will parameterize all parameters at the pipeline level in the Synapse Deployment task.
"Microsoft.Synapse/workspaces/pipelines": {
"properties": {
"parameters":{
"*": {"*":"="}
}
Reference documents:
I hope this helps. Please let me know if you have any further questions.