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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors