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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Power BI RestAPI Admin - WorkspaceInfo GetScanResult missing Relationships

I'm calling the scanner to get information for all workspaces in the tenant. For the most part, it works well. However, it is missing the section on "Relationships" that is the sample response provided in this MS article.

 

Sasha_Flexware_0-1712091449887.png

 

This is what I'm calling via the API.

 

https://api.powerbi.com/v1.0/myorg/admin/workspaces/getInfo?lineage=True&datasourceDetails=True&datasetSchema=True&datasetExpressions=True&getArtifactUsers=False

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

 

I've tested it a couple of times as well, and the realtionship are missing too.

Maybe there are some mistakes in the documents, because I don't find the relationship field in the Definations table.

vzhengdxumsft_0-1712122924228.png

 

If you want to see more detailed information, you can set up metadata scanning in your organization, here's the link for your reference:

Set up metadata scanning in an organization - Microsoft Fabric | Microsoft Learn

 

Best Regards

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

Anonymous
Not applicable

Do you know how to get table relationship information from a dataset via the Rest API or otherwise? 

** We already have metadata scanning setup. It's how I was able to retrieve the results (but missing Relationships).

Anonymous
Not applicable

Thanks. We've explored Purview but this customer is not interested in purchasing. Is there a way to get table relationship information from a dataset via the Rest API/Powershell? Do the premium XMLA endpoints provide that detail?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.