Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Srisakthi
Super User
Super User

Copy Activity Fails but Shortcut works

Hello Everyone,

 

I have scenario where i have to copy AWS S3 files to Fabric lakehouse. Connection creation is sucssessful but copy is throwing an error.

AWS S3 is behind the firewall and not publickly available. So I have used data gateway to connect to AWS S3 and connection is established but while copying it throws error.

 

"Underlying connection was closed. Could not establish trust relationship for the SSL/TSL secure channel."

 

But with the same credential we can see the data by creating shortcuts. So wondering how it is possible to do shortcut and read data but cant connect via data pipeline copy activity.

 

Regards,

Srisakthi

1 ACCEPTED SOLUTION
v-hjannapu
Community Support
Community Support

Hi @Srisakthi,
Thank you  for reaching out to the Microsoft fabric community forum.

I understood your issue. Shortcuts work because Fabric can directly read the S3 files, but when you run a pipeline copy through the gateway, it needs a proper SSL/TLS certificate to build a secure connection. If the certificate on your S3 side is not trusted by the gateway like self-signed, expired, or blocked by firewall, the copy will fail with that error.

Please check once if the SSL certificate used by your S3 endpoint is valid and trusted on the gateway machine. You may need to install the certificate on the gateway server or allow the endpoint through firewall so that the secure connection can be made.


Hope this helps if you have any queries we are  happy to assist you further.
Regards,
Community Support Team.

View solution in original post

3 REPLIES 3
v-hjannapu
Community Support
Community Support

Hi @Srisakthi,
Thank you  for reaching out to the Microsoft fabric community forum.

I understood your issue. Shortcuts work because Fabric can directly read the S3 files, but when you run a pipeline copy through the gateway, it needs a proper SSL/TLS certificate to build a secure connection. If the certificate on your S3 side is not trusted by the gateway like self-signed, expired, or blocked by firewall, the copy will fail with that error.

Please check once if the SSL certificate used by your S3 endpoint is valid and trusted on the gateway machine. You may need to install the certificate on the gateway server or allow the endpoint through firewall so that the secure connection can be made.


Hope this helps if you have any queries we are  happy to assist you further.
Regards,
Community Support Team.

Hi @v-hjannapu ,

 

Thank you for your response. Could you please share me if reference link for the same.

 

Regards,

Srisakthi

Hi @Srisakthi,
Below, you will find the reference documentation links as per your requiremnet.
Troubleshoot on-premises data gateways - Power BI | Microsoft Learn
Configure Amazon S3 in a copy activity - Microsoft Fabric | Microsoft Learn

Hope this helps if you have any queries we are  happy to assist you further.
Regards,
Community Support Team.

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.