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

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.

Reply
Smackcat
Helper I
Helper I

In Direct query mode saphana connection encryption is not supported

Hi experts,

 

At work we use SAP HANA (all our information is encrypted). Recently I've been asked to use DirectQuery with SAP HANA, so I extracted an cube of information from SAP with the Direct Query option, neverthless I got the following alert: "In Direct Query mode "SapHana" connection encryption is not supported. Disable encryption for this database or switch to import mode", but I can't not encrypt the information I'm using. Is there a way to use SAP HANA with Direct Query with encrypted information???

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Smackcat ,

 

As far as I know, Power BI support us to connect to SAP HANA by Direct Query connection mode.

SAP no longer supports the OpenSSL, and as a result, Microsoft also has discontinued its support. Use CommonCryptoLib instead.

Please make sure you have enabled encryption for SAP HANA and have got the certificate signed.

For reference:

Enable encryption for SAP HANA

SAP HANA database

Connect to SAP HANA data sources by using DirectQuery in Power BI

 

Best Regards,
Rico Zhou

 

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Smackcat ,

 

As far as I know, Power BI support us to connect to SAP HANA by Direct Query connection mode.

SAP no longer supports the OpenSSL, and as a result, Microsoft also has discontinued its support. Use CommonCryptoLib instead.

Please make sure you have enabled encryption for SAP HANA and have got the certificate signed.

For reference:

Enable encryption for SAP HANA

SAP HANA database

Connect to SAP HANA data sources by using DirectQuery in Power BI

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.