So in ADF, im trying to create a linked service to an Azure SQL Database where the connection string is stored in the key vault. The connection host many databases so the database name is not declared.
However, I also want to be able to add a parameter that allows me to enter a database name.
However I just don’t know how to do this, and I cant see an option when a Key Vault connection is selected.
The reason why I want a parameter, is because the Linked server is used as a database source in a pipeline, and when I see what tables are available in the drop down its just lists the default system ones. Plus, there are some duplicate table names between databases.
I really want to avoid creating multiple secrets and linked services – so if anyone knows any tricks that would be great. I’m also open to having to “specify dynamic contents in JSON format”
I have tried creating a 2nd linked service that jumps on the back of the original one that declares the key vault secret. So when it comes to selecting the linked service name, i say "the original one", this then allows me to add a parameters. However it just times out, and the connection fails, so i don't think that is the right approach.