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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lars_c
Frequent Visitor

Enhaced Metadata scanning doesn't retrieve tables

Hi all,

 

I've set up the scanning API by following all the steps provided by Microsoft. This works, as it shows the lineage, datasets, users, datasources, reports,... The lowest level it shows in the dataset is only the dataset itself. For the tables, dax expressions and M query mashups, the script returns a blank like this:

"tables" : []

Most of the datasets are Import (i know it doesn't work with DirectQuery).

The data comes from an SQL server (on prem).

The settings for enhanced metadata in the admin dashboard are on.

The url for initiating the scan has every parameter set to "True".

 

Am i missing something that creates this behaviour?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Lars_c,

It seems like a common scenario that happens when your use scanning API on datasets that have not been refreshed or republished. You take a look at the official document and it mentions these situations in 'Considerations and limitations':

Metadata scanning - Power BI | Microsoft Docs

Datasets that have not been refreshed or republished will be returned in API responses but without their detailed low-level information and expressions. For example, you will see dataset name and lineage in the response, but not the dataset's table and column names.
Regards,

Xiaxoin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Lars_c,

It seems like a common scenario that happens when your use scanning API on datasets that have not been refreshed or republished. You take a look at the official document and it mentions these situations in 'Considerations and limitations':

Metadata scanning - Power BI | Microsoft Docs

Datasets that have not been refreshed or republished will be returned in API responses but without their detailed low-level information and expressions. For example, you will see dataset name and lineage in the response, but not the dataset's table and column names.
Regards,

Xiaxoin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.