Forum Discussion

MangeshVC's avatar
MangeshVC
Frequent Visitor
1 year ago
Solved

Connection not getting established with OData Data Source at Power BI Service

Hi All.

     We are using an API to consume the SAP data source.

      At Power BI Desktop we used Get Data --> OData Feed then mentioned the API URL and used Basic method for Authentication with user name & password.

We got the data & we build the Power BI Report on top of that.

 

But when we uploaded the same report to Power BI service &  tried to create the connection for having scheduled refresh.

However with the same credentials we are not able to create the same & were getting the below mentioned error.

 

We are unable to figure out the issue as It is succesfully connecting at Power BI desktop but fails at Power BI Service. 

 

Please guide.

 

  • Hi MangeshVC,

    Thanks for connecting with the Microsoft Fabric Community Forum.

     

    Upon reviewing the error message, providing few insights which might assist you in addressing the issue:

    • If your SAP OData data source is hosted on-premises, you need to configure an On-Premises Data Gateway in Power BI Service.
    • Power BI Service often blocks Basic Authentication (username/password) for security reasons, especially with SAP OData. Use OAuth2 or Organizational Authentication

     

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

     

    Regards,
    Sahasra.

4 Replies

  • v-sgandrathi's avatar
    v-sgandrathi
    Community Support

    Hi MangeshVC,

    Thanks for connecting with the Microsoft Fabric Community Forum.

     

    Upon reviewing the error message, providing few insights which might assist you in addressing the issue:

    • If your SAP OData data source is hosted on-premises, you need to configure an On-Premises Data Gateway in Power BI Service.
    • Power BI Service often blocks Basic Authentication (username/password) for security reasons, especially with SAP OData. Use OAuth2 or Organizational Authentication

     

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

     

    Regards,
    Sahasra.

    • v-sgandrathi's avatar
      v-sgandrathi
      Community Support

      Hi MangeshVC,

       

      I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution.

      It would be greatly appreciated by others in the community who may have the same question.

       

      Thanks for connecting with the Microsoft Fabric Community Forum.

      • v-sgandrathi's avatar
        v-sgandrathi
        Community Support

        Hi MangeshVC,

         

        May I ask if you have gotten this issue resolved?

        If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

         

        Thanks for using Microsoft Fabric Community Forum.