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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Impactful Individual
Impactful Individual

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 Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.