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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
VaVi
New Member

You need to use SSL error for Fabric SQL database data source

Hi,

 

I'm trying to set up a translytical task flow.

Therefore I've created a UDF and a Fabric SQL Database. I've added the table I need from that database to my Power BI Datamodel via OneLake catalogue --> SQL database (preview). So far so good.

 

When I publish the datamodel to the service I get an error for the Data source credentials. I try "Edit credentials" and use OAuth2 for Authentication method and different Privacy level settings. Everytime I get the error "You need to use SSL (HTTPS) when you use OAuth 2.0 authentication.

 

What am I doing wrong?

 

Best regards, Carlos

2 REPLIES 2
Poojara_D12
Super User
Super User

Hi @VaVi 

The error you're encountering—“You need to use SSL (HTTPS) when you use OAuth 2.0 authentication”—occurs because the Power BI Service requires secure (SSL-encrypted) connections when authenticating via OAuth 2.0, especially for cloud-based data sources like Fabric SQL Databases accessed through the OneLake data hub. Although everything works in Power BI Desktop, the service enforces stricter security standards. The issue likely stems from the connection string or endpoint used in the OneLake Catalog connector not being HTTPS-compliant by default in the preview feature. To resolve this, ensure that your Fabric SQL Database is publicly accessible via an HTTPS endpoint and that the connection in Power BI explicitly targets the secure URL. Since the SQL Database (preview) connector is still evolving, it might not fully support OAuth2 via HTTPS in the service yet. As a workaround, try accessing the same data using the standard Fabric items > Lakehouse or Warehouse connector (which uses HTTPS) instead of the SQL Database (preview) route. Additionally, check the workspace settings and ensure your tenant allows SSL connections and that the data source configuration uses the correct HTTPS endpoint. If this doesn’t help, it's advisable to monitor Microsoft Fabric documentation for updates or raise a support ticket, as this could be a limitation or misbehavior in the current preview release.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
GilbertQ
Super User
Super User

Hi @VaVi 

 

Can you please post an actual screenshot of the error message to help us assist you?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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