Forum Discussion

kuraki's avatar
kuraki
Frequent Visitor
8 months ago
Solved

Partial result returned from Power BI REST API Datasets - Get Dataset To Dataflows Links In Group

Since last Thursday, this Power BI REST API suddenly stopped to work properly.

 

https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/upstreamDataflows

 

When calling this API using service principal in Power Query in a gen2 dataflow (non CI/CD), only part of the DatasetIDs in part our many workspaces returned only part of the upstream DataflowIDs (all are gen1 dataflows, not sure if it is coincident or not). It was working flawlessly all the time before, i.e. a full list of DatasetIDs in ALL workspaces, and returned ALL their corresponding upstream DataflowIDs from different workspaces (included both gen1 and gen2 non CI/CD dataflows).

 

However, when calling the above API using the "Try It" button here

Datasets - Get Dataset To Dataflows Links In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

we still can receive the full expected result as described above.

 

FYI, I tried to call all other APIs as follows, using both service principal and “Try It” button, and has no issue at all.  So it seems unlikely a permission/token issue.  And we have not changed any permission in the Azure app, our workspaces, etc.

 

 https://api.powerbi.com/v1.0/myorg/gateways

https://api.powerbi.com/v1.0/myorg/gateways/{gatewayId}/datasources

https://api.powerbi.com/v1.0/myorg/groups

https://api.powerbi.com/v1.0/myorg/gateways

https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes

https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows

https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/datasources

and some more...

 

Please advise the possible cause and how to fix it.  Thanks.

7 Replies