Hello @Rajendran, Prakash ,
Thanks for the question and using MS Q&A platform.
As I understand, the problem is that during ARM template creation, your SQL connection string is being turned into secure string when you do not want it to. You do not want it as secure string, because you parameterized the linked service.
So, we need to tell Data Factory to not do that to connection strings. Warning: below solution will apply this to ALL connection strings, not just the single one in question.
In the Data Factory, go to the Management tab. Then under "Source Control" click "ARM template". Then click "Edit parameter configuration". This will bring you to where you can choose what gets parameterized and how.
You are looking for "connectionString"
under "Microsoft.DataFactory/factories/linkedServices": {
we want to change it away from
"connectionString": "|:-connectionString:secureString",
to
"connectionString": "=",
Then try "Export ARM Template" and see if it works as expected. Check both this specific linked service, and some other one.
Please do let me if you have any queries.
Thanks
Martin
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators