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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
RLouis24
New Member

S3 Copy Data Unable to View Directory

Good Day,
I'm trying to source from a S3 Bucket into my Fabric OneLake. 
I have set up a successful managed connection that I am able to succesfully create a shortcut in my Lakehouse utilizing. 
When I try to use the same connection via a Copy Data Activity, I'm unable to see anything within the bucket/directory along with, if I try to browse once I input my directory name I get the TLS Error below:
 
The file operation is failed. A WebException with status TrustFailure was thrown. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure. 
 
I have these permissions on the S3 Side:
"s3:GetObject",
"kms:Decrypt",
"kms:GenerateDataKey",
"s3:GetBucketLocation",
"s3:ListBucket",
"s3:GetObjectVersion",
"s3:ListAllMyBuckets"*
1 ACCEPTED SOLUTION

It has not resolved it. I am going to just utilize spark scripts to read from the S3 shortcut instead and write to my OneLake. 

View solution in original post

8 REPLIES 8
v-tsaipranay
Community Support
Community Support

Hi @RLouis24 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

It has not resolved it. I am going to just utilize spark scripts to read from the S3 shortcut instead and write to my OneLake. 

Hi @RLouis24 ,

 

Thank you for your confirmataion, may I ask if you have resolved this issue by using spark scripts? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @RLouis24 ,

Thank you for using Microsoft Community Forum.

 

Based on the TLS error you're encountering during the Copy Data activity “TrustFailure The remote certificate is invalid” the issue is due to Microsoft Fabric being unable to validate the SSL/TLS certificate presented by your S3 endpoint.

This commonly happens when:

  • The certificate is self-signed or from an untrusted Certificate Authority (CA).
  • There's a mismatch between the certificate domain and the endpoint URL.
  • You're using a custom S3-compatible service with an unsupported certificate.

To resolve this, please ensure your S3 endpoint uses a valid SSL certificate from a trusted CA, and that the endpoint domain matches the certificate. If you’re behind a firewall or using SSL inspection, verify that no intermediary certificates are causing the trust issue.

As a temporary workaround, you can manually enter the full file path in the Copy Data activity instead of using the browse option.

For more guidance, refer to the following documentation : setting up Amazon S3 connections.

 

I hope this will reslove your issue, if you need any further assistance, feel free to reach out.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thankyou.

 

Hi @RLouis24 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

Good Morning, no this did not solve the issue. Thank you for the effort though!

Hi @RLouis24 ,

 

Thanks for the update. Since the connection works for shortcuts but fails during Copy Data browsing, it indicates stricter SSL validation is enforced in the Copy Data UI.

This error typically occurs if:

  • The S3 endpoint uses a self-signed or untrusted SSL certificate.

  • The certificate domain doesn't exactly match the endpoint URL.

  • A custom S3-compatible service is being used.

Could you confirm:

  1. Are you using standard AWS S3 or a custom endpoint?

  2. Is the certificate from a trusted CA and does it match the endpoint domain?

In the meantime, try entering the full S3 path manually in the Copy Data activity this often bypasses the TLS check in the UI.

 

Thank you.

Hi @RLouis24 ,


I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

 

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.