PowerBIRESTAPI icon indicating copy to clipboard operation
PowerBIRESTAPI copied to clipboard

Issue with DataSet Datasources table

Open Karthik7373 opened this issue 2 years ago • 4 comments

Thanks for providing the custom connector…this is really helpful. Am powerBI admin in our organization and i have one issue regarding this connector..when i select dataset datasources from PowerBI Service Admin tab i get below error

Failed to save modifications to the server. Error returned: ‘OLE DB or ODBC error: [Expression.Error] The field ‘datasourceId’ of the record wasn’t found..

I have everything i need but this data from dateset datasources would give me datasource ID which i want to join with datasource id from gateway tables to get the list of datasets connecting to oracle.

Please help as we are in middle of migrating oracle to Postgres and this information is very critical.

Karthik7373 avatar Sep 07 '21 00:09 Karthik7373

Thanks for providing the custom connector…this is really helpful. Am powerBI admin in our organization and i have one issue regarding this connector..when i select dataset datasources from PowerBI Service Admin tab i get below error

Failed to save modifications to the server. Error returned: ‘OLE DB or ODBC error: [Expression.Error] The field ‘datasourceId’ of the record wasn’t found..

I have everything i need but this data from dateset datasources would give me datasource ID which i want to join with datasource id from gateway tables to get the list of datasets connecting to oracle.

Please help as we are in middle of migrating oracle to Postgres and this information is very critical. @migueesc123 Please help

Karthik7373 avatar Sep 07 '21 00:09 Karthik7373

Hey! Due to some unforeseen situations that I’m going through, I’m focusing 100% of my available time for remote consultancy work.

I’ll let @klinejordan and @ImkeF chime in and provide their suggestions for your scenario.

Please note that the code for the connector is under the MIT license, so you’re able to fork the repo and modify the code of the connector to fit your requirements as long as you provide attribution.

I noticed that you tagged me in this issue, so I wanted to reply as soon as I could so you’re aware of my current situation and hopefully get some feedback from the other contributors of this repo.

if you still require professional help personally from me, you can reach me at [email protected] where we can discuss further what changes you might need for the connector, deliverables and rates.

Best!

migueesc123 avatar Sep 07 '21 01:09 migueesc123

Hi @Karthik7373 , also don't have time atm to dig deeper into this. But if you need data just for an ad-hoc analysis, you can always use the manual retrieval from the API page itself: https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasources-as-admin This would at least give you a hint if there is any issue with the scopes of your app itself.

ImkeF avatar Sep 07 '21 07:09 ImkeF

You'll see this if there's a "corrupted" dataset in your tenant where Power BI can't find the data sources for some reason. Unfortunately fixing this would be a big project as it involves implement try behavior in PQ, which also makes debugging more difficult so its a double edged sword. And there's also a reason this API is in our experimental folder - because the people who contribute to this connector can't necessarily guarantee performance. This isn't something I can tackle in the near term unfortunately but we can leave it open as a known issue in case other contributors want to take a stab at it.

klinejordan avatar Sep 07 '21 22:09 klinejordan