@Sahu, Divya While it may be possible to do things this way, it is more work than it needs to be, kind of like if you needed some oil for your car you made a deal with the parts manufacturer instead of just going to the local hardware store.
The release pipeline is generally for taking one Factory / Workspace and copying all its contents to another Factory / Workspace.
The easier way to add a linked service is just go go use the visual authoring tool / portal. This way the Linked Service gets written into your repo properly.
By directly using ARM template, you would bypass your repo, and cause the repository and Factory/Workspace to become out of sync.
Does this make sense?
Hi @MartinJaffer-MSFT , Actually i'm trying to create a linked service for azure data factory and Synapse analytics using ARM template. Azure data factory and Synapse workspace is already created so i just want to create the linked service and for that i'm using above template. I'm not sure whether it's correct or not. Yes, i'm using Azure devops for release pipeline.
Could you please tell me what would be the correct template to create the linked service if i'm doing it wrong?