This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hello,
I would like to ask about best practices and licensing considerations when connecting Power BI directly to an SAP HANA production database.
Currently, we are using a copy of our SAP HANA database as the source for our Power BI reports. This creates delays because the copied database must be refreshed regularly, meaning our reports do not contain live data.
Since Power BI has native SAP HANA integration, I would like to understand whether it is technically supported and considered best practice to connect Power BI directly to an SAP HANA production database for reporting purposes.
I would also like to know whether this could potentially breach SAP licensing agreements or usage policies, and whether Microsoft and SAP recommend a specific architecture for near real-time or live reporting.
Any guidance or experiences with similar setups would be greatly appreciated.
Thank you.
Solved! Go to Solution.
Hi @SantaT
Connecting Power BI directly to a live production SAP HANA database is fully supported by Microsoft via its native database connector, but doing so carries severe operational risks and potential licensing violations that make it a discouraged practice.
From a performance standpoint, querying a live transactional production environment directly for real-time reporting is highly risky; Power BI's DirectQuery mode translates user dashboard interactions into massive, unoptimized SQL statements that strike the underlying database engine simultaneously. This can quickly exhaust CPU and thread resources on your production HANA node, leading to severe concurrency bottlenecks and lagging out the core transactional operations of your business.
From a compliance perspective, you run a very high risk of breaching your SAP contractual agreements due to SAP’s Indirect Access (Digital Access) policies. If your enterprise operates under a Runtime License for SAP HANA (where the database is strictly bundled to only power the core SAP ERP application), connecting a third-party front-end tool like Power BI to pull raw data directly from the underlying tables is explicitly prohibited. Even if you have a Full-Use Database License, exposing this direct backdoor connection to dashboard users who do not possess a matching, active SAP Named User license can trigger massive financial penalties during an audit, as SAP classifies automated external data retrieval as actionable platform consumption.
To achieve near real-time reporting without crashing your production environment or failing a compliance audit, Microsoft and SAP recommend routing your data through an application-driven semantic layer rather than a direct database connection. The industry best practice is to build ABAP Core Data Services (CDS) views or HANA Calculation Views inside the SAP layer, expose them securely as OData Services, and connect Power BI using the native OData or SAP Business Warehouse (BW) connectors. This framework allows you to implement Single Sign-On (SSO) via Kerberos Constrained Delegation, meaning Power BI handles data requests by impersonating the individual user’s authenticated SAP profile—which completely eliminates indirect access compliance risks, preserves SAP’s internal application-level security roles, and allows the SAP engine to safely throttle and cache incoming query traffic.
Hi @SantaT
Connecting Power BI directly to a live production SAP HANA database is fully supported by Microsoft via its native database connector, but doing so carries severe operational risks and potential licensing violations that make it a discouraged practice.
From a performance standpoint, querying a live transactional production environment directly for real-time reporting is highly risky; Power BI's DirectQuery mode translates user dashboard interactions into massive, unoptimized SQL statements that strike the underlying database engine simultaneously. This can quickly exhaust CPU and thread resources on your production HANA node, leading to severe concurrency bottlenecks and lagging out the core transactional operations of your business.
From a compliance perspective, you run a very high risk of breaching your SAP contractual agreements due to SAP’s Indirect Access (Digital Access) policies. If your enterprise operates under a Runtime License for SAP HANA (where the database is strictly bundled to only power the core SAP ERP application), connecting a third-party front-end tool like Power BI to pull raw data directly from the underlying tables is explicitly prohibited. Even if you have a Full-Use Database License, exposing this direct backdoor connection to dashboard users who do not possess a matching, active SAP Named User license can trigger massive financial penalties during an audit, as SAP classifies automated external data retrieval as actionable platform consumption.
To achieve near real-time reporting without crashing your production environment or failing a compliance audit, Microsoft and SAP recommend routing your data through an application-driven semantic layer rather than a direct database connection. The industry best practice is to build ABAP Core Data Services (CDS) views or HANA Calculation Views inside the SAP layer, expose them securely as OData Services, and connect Power BI using the native OData or SAP Business Warehouse (BW) connectors. This framework allows you to implement Single Sign-On (SSO) via Kerberos Constrained Delegation, meaning Power BI handles data requests by impersonating the individual user’s authenticated SAP profile—which completely eliminates indirect access compliance risks, preserves SAP’s internal application-level security roles, and allows the SAP engine to safely throttle and cache incoming query traffic.
Hi @SantaT,
Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to @lbendlin, for those inputs on this thread.
Has your issue been resolved? If the response provided by the community member @lbendlin, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.
Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.
Thank you for using the Microsoft Community Forum.
Hi @SantaT,
Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.
Thank you.
It is not best practice, not by a long shot. Your reporting tool should never have direct access to the OLTP production database.
Keep your current setup.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |