Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Refreshing an oData source dataset and an on premise SQL dataset on the same gateway

Hello,

 

I made a report with some dataset connected to our on premise SQL server from PowerBI Desktop and I added a connection to Dynamic365 cloud with the OData connection with the link provided in the setting page, I used our Datagateway account to access to the Dynamic365 data. We created an admin licence in Dynamic365 to query the data. So in PowerBI Desktop everything works my data load and everything, when I upload the report to PowerBI Service it works but I cannot schedule the refresh and add to our DataGateway the OData source. I know how to configure the SQL server datasource with our gateway, it always works but the OData there's an error message. 

 

In the Data Source setting page, I have the data source name completed, the data source type is set to OData, the url is there but when I enter the authentification method I get an error. I tried Anonymous didn't work. Then I tried Basic and Windows with the datagateway account name and password (for Basic and Windows in advanced setting we use Organizational) and I always get an error:

 

"Unable to connect: We encountered an error while trying to connect to . Details: "We could not register this data source for any gateway instances within this cluster. Please find more details below about specific errors for each gateway instance."

9 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Anonymous ,

    According to your error message, it seems like your credentials are invalid so that power bi can't use them to finish the verify of authorization and refresh data.
    Have you tested with the same credentials on other connection tools? If this is a case, it means this issue more related to power bi data connector.

    Regards,

    Xiaoxin Sheng

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello Xiaoxin, the credentials work when I load the data and use this access in powerbi desktop but doesn't work when I use it in the gateway on powerbi service.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

        What type of credentials are you used on this data source? Some authorization modes do not fully work on service side, I'd like to suggest you switch to 'organization account' mode and try again.
        In addition, have you tried to update datasoruce credentials on power bi service side?

        Regards,

        Xiaoxin Sheng