Update Oracle Connection version 2.0 from 1.0

Colinn Calaguas 70 Reputation points
2025-08-22T14:59:35.27+00:00

This is connected to another question I have.

https://learn.microsoft.com/en-us/answers/questions/5490043/adf-oracle-connection-deprecated-version-1-0

Since the version 1 will be decommissioned soon. We need to update our Oracle connections to version 2. How can make a TNS connection from this example?

EDGE Ebix Version 1

For this connection we have a Host, Port, Service Name, we are NOT using Azure Key Vault and there's a property encrpytionmethod with value of 1.

When we switch this to version 2. I'm not sure how to map these fields correctly.

EDGE Ebix version 2

There's a lot of property names here that exists by default when we switched it to version 2.0.

Really appreciate any suggestions on this.

I have this TNS but not sure if this is correct.

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= 10.1.2.3)(PORT= 1521))(CONNECT_DATA=(SERVICE_NAME= orcl)))

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vinodh247 37,216 Reputation points MVP Volunteer Moderator
    2025-08-24T05:00:38.8766667+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    To migrate your Oracle linked service from version 1.0 to 2.0 in ADF, you need to map the old connection details to the new fields provided in version 2.0, as the TNS string is no longer supported directly. From your version 1.0 setup, take the host (10.1.2.3), port (1521), and service name (orcl) and enter them in the Server, Port, and Service name fields respectively in the version 2.0 configuration. Keep the auth type as Basic and enter the same username and password as before. For the additional property encryptionmethod=1 that you had in version 1.0, set Encryption client to accepted and Crypto checksum client to accepted in version 2.0, leaving the encryption and checksum type fields blank unless your DBA specifies algorithms like AES256 or SHA1. Your provided TNS string is correct but only serves as a reference for extracting these values, as version 2.0 uses explicit field mappings rather than a TNS entry. Once the configuration is complete, test the connection, and if encryption errors occur, confirm the required encryption and checksum algorithms with your DBA before finalizing the setup.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.


  2. Pratyush Vashistha 1,525 Reputation points Microsoft External Staff Moderator
    2025-08-25T02:14:28.5+00:00

    Hello Colinn Calaguas, thanks for posting your query on Microsoft QnA!

    As correctly mentioned by Vinodh247, a mapping is required for old connection details. In addition to his answer, I would like to share some references and additional details which may help you with your issue.

    Here are some references to help clarify and guide you:

    If you are using the Username and password not SSO

     

    Use the below string with password in AKV :

    {"server":"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=SQL.saku.lab)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl.saku.lab)))","authenticationType":"Basic","username":"SYSTEM","password":"<>"}

     

    Your linked JSON should look like this.

     

    {
        "properties": {
            "type": "Oracle",
            "version": "2.0",
            "typeProperties": {
                "connectionPropertiesInString": {
                    "type": "AzureKeyVaultSecret",
                    "store": {
                        "referenceName": "orcl_akv_LS",
                        "type": "LinkedServiceReference"
                    },
                    "secretName": "latest-secret"
                }
            },
            "connectVia": {
                "referenceName": "integrationRuntime1-shir",
                "type": "IntegrationRuntimeReference"
            },
            "annotations": []
        }
    }
    

    Please "Accept as Answer" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues

    Thanks

    Pratyush


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.