Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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???
Solved! Go to Solution.
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
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.
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
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 78 | |
| 46 | |
| 37 | |
| 31 | |
| 26 |