Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
bexy
Frequent Visitor

Retrieving All Power BI Reports with Dataflow Connections in a Fabric Workspace Using Power BI APIs

#########################################################

groupId = '1234csdfv-dfgg24-cfgr-fdutrcncn7r684n7'

response = requests.get(url = f"https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/upstreamDataflows", headers = headers)

reports = response.json()

#########################################################

Using the Power BI APIs, I am attempting to retrieve the datasets and their dependent dataflows in a Fabric workspace. However, the output only includes details for a single report, such as its corresponding datasetObjectId, dataflowObjectId, and workspaceId, instead of listing all Power BI reports with Dataflow connections in the specified workspace.

 

Here is Microsoft official doc link I followed : https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-dataset-to-dataflows-links-in-group

 

Please assist me in resolving this issue.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bexy ,

After doing the above based on your operations, you also need to use the following API to get the report:

Admin - WorkspaceInfo GetScanResult - REST API (Power BI Power BI REST APIs) | Microsoft Learn
After obtaining all the reports for the workspace, filter the API with the semantic model ID that you have filtered to meet the conditions, and finally use the semantic model ID to create the report.

 

Best Regards,

Ada Wang

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

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @bexy ,

After doing the above based on your operations, you also need to use the following API to get the report:

Admin - WorkspaceInfo GetScanResult - REST API (Power BI Power BI REST APIs) | Microsoft Learn
After obtaining all the reports for the workspace, filter the API with the semantic model ID that you have filtered to meet the conditions, and finally use the semantic model ID to create the report.

 

Best Regards,

Ada Wang

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

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.