Hello @Satya,
Welcome to the MS Q&A platform.
You can use the below custom code in your custom parameters template file
"Microsoft.Synapse/workspaces/linkedServices": {
"*": {
"properties": {
"typeProperties": {
"accountName": "=",
"username": "=",
"connectionString": "|:-connectionString:secureString",
"secretAccessKey": "|",
"domain":"=",
"workspaceresourceid":"="
}
}
}
"workspaceresourceid":"=" will paramtetrize your workspaceresourceID in your linked service connection.
You can see the document below explaining how to use the custom parameters.
I hope this helps.
If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions