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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
verdan
Frequent Visitor

API - Admin - WorkspaceInfo GetScanResult is not returning tables, queries and columns information

Hello, 

I am new to PowerBI Rest API, and need to get the complete information about a dataset. I see this information on the frontend, that a dataset has the tables, or queries. but when using the Admin WorkspaceInfo GetScanResult endpoint, the tables list is empty for all the datasets, and only one dataset has the DAX expression query. 

 

I have all the query params set as True:

Screenshot 2022-11-02 at 10.13.40.png

 

and the endpoint response:

Screenshot 2022-11-02 at 10.12.33.pngScreenshot 2022-11-02 at 10.13.14.png

 

Any help on what I am missing?

the frontend lineage view:

Screenshot 2022-11-02 at 10.06.30.png

 

Screenshot 2022-11-02 at 10.07.28.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @verdan,

As the document said, have you invoked GetScanStatus API before using GetScanResult? The detail result seems generated by ScanStatus API.

Admin - WorkspaceInfo GetScanResult - REST API (Power BI Power BI REST APIs) | Microsoft Learn

In addition, please also check the correspond permissions and scope settings of that API usage and confirm your dataset has been refreshed/republished to actived the scanning API:

Solved: Enhaced Metadata scanning doesn't retrieve tables - Microsoft Power BI Community

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
algaindra99123
Frequent Visitor

Hello @verdan 

Have you solved the problem? If you don't mind, please kindly replying me and send me a messages.
Thank you

vivien57
Super User
Super User

Hello,

Have you managed to solve your problem? I have the same problem

Thank you in advance for your feedback,

Have a nice day,

Vivien

Anonymous
Not applicable

HI @verdan,

As the document said, have you invoked GetScanStatus API before using GetScanResult? The detail result seems generated by ScanStatus API.

Admin - WorkspaceInfo GetScanResult - REST API (Power BI Power BI REST APIs) | Microsoft Learn

In addition, please also check the correspond permissions and scope settings of that API usage and confirm your dataset has been refreshed/republished to actived the scanning API:

Solved: Enhaced Metadata scanning doesn't retrieve tables - Microsoft Power BI Community

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.