Thank you for your question.
You are right - the Oracle linked service Version 1.0, which supports Host, Port, SID, and Connection Type, is being deprecated, and Microsoft recommends migrating to Version 2.0.
In Version 2.0, the UI no longer provides separate fields for Port, SID, or Connection Type. Instead, it uses a single Server field and expects a full connection string. However, you can still connect using SID by manually crafting a TNS-style connection string.
Here's how you can replicate your existing v1.0 SID-based connection in v2.0:
In the Server field (under version 2.0), use the following format:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<your_host>)(PORT=<your_port>))(CONNECT_DATA=(SID=<your_sid>)))
You can continue using Azure Key Vault for storing and retrieving the password as before - no changes are needed there.
Example - If your current v1.0 values are:
- Host:
10.1.2.3 - Port:
1521 - SID:
orcl
Then your Server string in v2.0 should be:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.2.3)(PORT=1521))(CONNECT_DATA=(SID=orcl)))
Paste this entire value into the Server field under v2.0.
For more details, please refer: Copy data from and to Oracle by using Azure Data Factory or Azure Synapse Analytics
I hope this information helps. Please do let us know if you have any further queries.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.
As your feedback is valuable and can assist others in the community facing similar issues.
Thank you.