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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.

Top Kudoed Authors