Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
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
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.
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.
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).
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?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 15 | |
| 14 | |
| 11 | |
| 9 | |
| 8 |
| User | Count |
|---|---|
| 44 | |
| 35 | |
| 29 | |
| 29 | |
| 27 |