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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KNULLByTE
Regular Visitor

SSL/TLS validation failed in COPY activity

Hey everybody,
I am migrating some pipelines from data factory to fabric and using a copy activity to fetch data from an api and paste it into datalake
but i get this error even after using an on-premise gateway and my privacy setting for the connection is None
'''
The connection to the REST service failed. Endpoint='xxx', Reason='TrustFailure' 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.
'''
my connection credentials are correct
Please guide
Thanks for help

1 ACCEPTED SOLUTION
v-prasare
Community Support
Community Support

Hi @KNULLByTE,

 

The error occurs because Microsoft Fabric enforces strict SSL/TLS certificate validation when connecting to HTTPS endpoints. If the REST API you are calling uses an invalid certificate—such as a self-signed, expired, or domain-mismatched certificate—Fabric will reject the connection with a "TrustFailure" error. This validation happens even if you're using an on-premises data gateway or have set the privacy level to None, as these settings do not bypass SSL security checks.

 

To resolve this, you need to ensure the API uses a valid SSL certificate issued by a trusted certificate authority. If updating the certificate is not possible, a common workaround is to set up a reverse proxy (e.g., NGINX or Azure API Management) with a trusted SSL certificate that forwards requests to the original API. This allows Fabric to successfully establish a secure connection through the proxy, while the proxy handles communication with the original API.

 

 

let me know if your still blocked on this?

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

View solution in original post

3 REPLIES 3
KNULLByTE
Regular Visitor

Hey,
@v-prasare 
Thanks for your help.
I am working on implementing your solutions.
Will open this thread again, if needed

v-prasare
Community Support
Community Support

@KNULLByTE, As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

 

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

v-prasare
Community Support
Community Support

Hi @KNULLByTE,

 

The error occurs because Microsoft Fabric enforces strict SSL/TLS certificate validation when connecting to HTTPS endpoints. If the REST API you are calling uses an invalid certificate—such as a self-signed, expired, or domain-mismatched certificate—Fabric will reject the connection with a "TrustFailure" error. This validation happens even if you're using an on-premises data gateway or have set the privacy level to None, as these settings do not bypass SSL security checks.

 

To resolve this, you need to ensure the API uses a valid SSL certificate issued by a trusted certificate authority. If updating the certificate is not possible, a common workaround is to set up a reverse proxy (e.g., NGINX or Azure API Management) with a trusted SSL certificate that forwards requests to the original API. This allows Fabric to successfully establish a secure connection through the proxy, while the proxy handles communication with the original API.

 

 

let me know if your still blocked on this?

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

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.