Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello everyone.
I'm having issue with a DataFactory pipeline.
Here's the problem:
Objective: Update data from Fabric Warehouse to an on-premises Oracle database.
Writing to the Oracle database is performed through an on-premises data gateway (OPDGW).
The following settings are configured for the Fabric DataPipeline copy activity:
- Source: Table in Fabric Warehouse
- Destination: Table in Oracle database (via OPDGW connection)
* The column definitions of both tables are identical.
The following error occurred during pipeline execution:
ErrorCode=SqlFailedToConnect,
'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,
Message=Unable to connect to SQL database.
For more information, please contact the SQL Server team.
Server: 'XXXXXXXXXX.datawarehouse.fabric.microsoft.com',
Database: '******-******-******-******-******',
User: ''.
Make sure the connection configuration is correct and that the SQL database firewall allows Data Factory Runtime access.
Source=Microsoft.DataTransfer.Connectors.MSSQL,
''Type=Microsoft.Data.SqlClient.SqlException,
Message=A connection to the server was successfully established, but an error occurred during the login process.
(Provider: SSL Provider, Error: 0 - An existing connection was forcibly closed by the remote host.),
Source=Framework Microsoft SqlClient Data Provider, ''Type=System.ComponentModel.Win32Exception,
Message=An existing connection was forcibly closed by the remote host,
Source=,
'
If I swap the source and destination in the copy activity,
data is transferred from the Oracle database to Fabric Warehouse without any errors.
Additionally, if I set the copy activity source to Lakehouse and the destination to an Oracle database, it works fine.
Validation Results
Case | Source | Destination | Status |
1 | Warehouse | Oracle Database (via OPDGW) | Failure |
2 | Oracle Database (via OPDGW) | Warehouse | Success |
3 | Lakehouse | Oracle Database (via OPDGW) | Success |
4 | Oracle Database (via OPDGW) | Lakehouse | Success |
Why am I getting an error when the source is Lakehouse and the destination is an Oracle database (via OPDGW)?
Thanks in advance.
Solved! Go to Solution.
Hi @kkoba,
You’re hitting a gateway connectivity/auth quirk specific to Fabric Warehouse.
When a copy activity targets an on-prem Oracle sink via the on-premises data gateway, the gateway machine is involved in the data movement. That box must be able to authenticate to, and open a TLS 1.2 connection on TCP 1433 to, the Fabric Warehouse SQL endpoint (*.datawarehouse.fabric.microsoft.com). If that path is blocked or the Warehouse connection is using an auth mode that isn’t usable from the gateway context, you’ll see “SSL Provider… connection was forcibly closed by the remote host.” See the allowlist and connectivity requirements: Add Fabric URLs to your allowlist, Warehouse connectivity, and gateway comms/TLS details: Gateway communication settings.
Why the difference across your 4 cases:
What to check/fix quickly:
Need a “works today” pattern while networking is being fixed?
Use a 2-step staged copy:
That design is explicitly recommended when a single copy would need different network planes, and avoids routing Warehouse SQL over the gateway path: Copy activity in Fabric pipelines.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.
Hi @kkoba ,
Just wanted to check if you got a chance to review the suggestions provided and whether that helped you resolve your query?
Thank You @tayloramy for your prompt response t the query.
Hi @kkoba,
You’re hitting a gateway connectivity/auth quirk specific to Fabric Warehouse.
When a copy activity targets an on-prem Oracle sink via the on-premises data gateway, the gateway machine is involved in the data movement. That box must be able to authenticate to, and open a TLS 1.2 connection on TCP 1433 to, the Fabric Warehouse SQL endpoint (*.datawarehouse.fabric.microsoft.com). If that path is blocked or the Warehouse connection is using an auth mode that isn’t usable from the gateway context, you’ll see “SSL Provider… connection was forcibly closed by the remote host.” See the allowlist and connectivity requirements: Add Fabric URLs to your allowlist, Warehouse connectivity, and gateway comms/TLS details: Gateway communication settings.
Why the difference across your 4 cases:
What to check/fix quickly:
Need a “works today” pattern while networking is being fixed?
Use a 2-step staged copy:
That design is explicitly recommended when a single copy would need different network planes, and avoids routing Warehouse SQL over the gateway path: Copy activity in Fabric pipelines.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.
@tayloramy
Thank you for your reply.
We'll implement a solution that works through Lakehouse.
Best Regards,
kkoba
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Fabric update to learn about new features.