Forum Discussion
Is there a problem with API endpoint "/datasets/upstreamDataflows" using service principal?
I'm using power bi api to retrieve information about workspaces,datasets,dataflows etc. To this day everything was working fine however today endpoint:
https://api.powerbi.com/v1.0/myorg/groups/{workspace}/datasets/upstreamDataflows
stopped working.
When using learn sandbox on microsoft webpage everything is working fine but when i try to retrieve information using service principal i got nothing. All other endpoints are still working fine.
Does something changed with the API? Could someone test this endpoint on their environment with service principal?
4 Replies
- lbendlinSuper User
I don't see that endpoint mentioned in the documentation. Did you mean ../{datasetid}/datasources ?
- Krzysiek014New Member
It is in the documentation under this link https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-dataset-to-dataflows-links-in-group
- lbendlinSuper User
Ah i see. This seems to work ok with a standard OAuth authentication. Haven't tried with a service principal yet.
- SupercatFrequent Visitor
I also met the same problem today while it worked yesterday and before. On the Power BI official website and I have a trail with it, it works. But when I use my own authentication it failed. And I can't solve this. Who can help?