Setting up Oracle linked service using version 2.0 in ADF using SHIR

AD 0 Reputation points
2025-10-22T12:37:28.1033333+00:00

Hi all.

I am trying to setup Oracle v2.0 Linked Service in ADF . At the moment its failing with the error:

Test connection operation failed. Failed to open the Oracle database connection. ORA-50000: Connection request timed out

We have our SHIR in Azure and Oracle Database is in on premise, we are able to telnet Oracle Database successfully from our SHIR.

The JSON looks like follows:

"name": "OracleLinkedService",
"properties": {
    "type": "Oracle",
    "version": "2.0",
    "typeProperties": {
        "server": "salesserver1:1521/my-service", 
        "username": "xxx", 
        "password": "xx", 
        "authenticationType": "basic"
    },
    "connectVia": {
        "referenceName": "SHIR",
        "type": "IntegrationRuntimeReference"
    }
}

}

We tried changing the additinal properties "Encryption client" and "Crypto checksum client" from "accepted" to "rejected" .Would you be able to suggest if any changes in this setup we can make to establish connectivity to Oracle Onprem from ADF?

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

1 answer

Sort by: Most helpful
  1. Kalyani Kondavaradala 3,145 Reputation points Microsoft External Staff Moderator
    2025-10-22T13:14:50.6333333+00:00

    Hi Deshmukh Aditya

    Thanks for reaching on Microsoft Q&A! Welcome

    Can you please check the below things carefully:

    1. Integration Runtime:
      • Ensure that your SHIR is properly set up and has access to the required network routes to reach your Oracle database.
      • If you have multiple nodes for SHIR, make sure all are configured the same and functioning.
    2. Encryption Settings:
      • Since you mentioned changing the additional properties "Encryption client" and "Crypto checksum client" from "accepted" to "rejected," temporarily revert those changes. If your Oracle database requires secure connections, it may be dropping the connection due to mismatched security settings.
      • Make sure the Oracle server settings also have encryption properly configured.
    3. Timeout and Retry Settings:
      • Increase the connection timeout and adjust any retry counts in your linked service settings. Especially for connections over a network that may experience latency.
    4. Check Firewall and Security Groups:
      • Verify that there are no firewall restrictions on the Oracle server that might prevent SHIR from establishing a connection. Ensure that the necessary ports are open.

    Can you try using the below configuration for server name replace with your server details

    { 
        "name": "OracleLinkedService", 
        "properties": { 
            "type": "Oracle", 
            "version": "2.0", 
            "typeProperties": { 
                "server": "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST= oraclesample.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=<<yours>>)))",  
                "username": "<user name>",  
                "password": "<password>",  
                "authenticationType": "Basic" 
            }, 
            "connectVia": { 
                "referenceName": "<name of Integration Runtime>", 
                "type": "IntegrationRuntimeReference" 
            } 
        } 
    }
    

    Please refer the below Microsoft document for details:

    https://free.blessedness.top/en-us/azure/data-factory/connector-oracle?tabs=data-factory

    If you still stuck, can you please provide us the linked service configuration and what type of datasets and files you are using.


    Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.

    Thanks!

    Kalyani


Your answer

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