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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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