Forum Discussion
Solution for Cloud Foundry to Power BI Configuration
- 9 months ago
Authentication failures in Power BI when connecting to SAP HANA via SAP Cloud Connector typically occur because Power BI expects a direct TCP connection or a secure tunnel that supports database protocols. However, SAP Cloud Connector only supports HTTP(S) traffic it does not tunnel native HANA protocols such as SQL, JDBC, or ODBC.
If you are using SAP HANA Cloud , retrieve the host and port details from your SAP BTP Cockpit and connect using Power BI’s SAP HANA Database connector. Use Basic Authentication with your database credentials, and ensure SSL encryption is enabled in the connection settings.For on-premise SAP HANA, a direct database connection through Cloud Connector will not work.
Alternatively, for on-premise scenarios, you can expose HANA data as an OData service using XSODATA or SAP Gateway. Confirm that your Cloud Connector’s virtual-to-internal host mappings are correctly configured and active, then connect using Power BI’s OData Feed option. Authentication can be performed with user credentials or an OAuth token, depending on your setup.
For more information, refer to the official Microsoft documentation on Power Query SAP HANA database connector and DirectQuery for SAP HANA in Power BI.
Regards,
Microsoft Fabric Community Support Team.
Thanks everyone for support. I got solution for it. I am connecting SAP hana database using SAP Hana database connector .
1. I enter database server host and port
2. For user credentails, I have created db user for power BI and give access .
3. In database connection, you need to allow all IP addresses.
3. Then enter user credentials and click on connect.
If anyone have any query , ask me . I will give end to end solution
Thanks & Regards