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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
vivien57
Advocate V
Advocate V

GetScanResult - The list of tables is often empty

Hello everyone,

I'm having a rather incomprehensible problem.

I call the WorkspaceInfo GetScanResult method and the list of tables and columns for a workspace is sometimes available, sometimes not (empty list)...

And yet all the Datasets are scheduled in Power BI Service...

I've also noticed that if you force a refresh in PowerBI Service (On-Demand and not Scheduled), the data is then available.

Do you also experience this problem ?

Why do you have to force a refresh for the data to be available ?

Thank you in advance for your feedback,

Have a nice day,

Vivien

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vivien57 ,

 

As the offical blog mentioned, we need to call  Admin - WorkspaceInfo GetScanResult after a successful GetScanStatus API call.
Please make sure you have called GetScanStatus  API call successfully first.

I suggest you to refer to this blog to follow the steps: Using the Power BI Scanner API to Manage Tenant’s Entire Metadata – PowerBI.tips

And there is a solved thread with similar issue like yours for reference: 
Solved: Re: API Scanning Metadata - Microsoft Fabric Community

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @vivien57 ,

 

As far as I know, this rest api will get the scan result for the specified scan.

According to the offical blog Admin - WorkspaceInfo GetScanResult , we can only make this API call after a successful GetScanStatus API call. The scan result will remain available for 24 hours.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

Thank you for your feedback.

I did read the documentation, but as I mentioned in my post, sometimes the information is there and sometimes it's not.

And there's nothing in the documentation to explain this problem, or why forcing an on-demand refresh seems to solve it.

Thank in advance for your return,

Vivien

Anonymous
Not applicable

Hi @vivien57 ,

 

As the offical blog mentioned, we need to call  Admin - WorkspaceInfo GetScanResult after a successful GetScanStatus API call.
Please make sure you have called GetScanStatus  API call successfully first.

I suggest you to refer to this blog to follow the steps: Using the Power BI Scanner API to Manage Tenant’s Entire Metadata – PowerBI.tips

And there is a solved thread with similar issue like yours for reference: 
Solved: Re: API Scanning Metadata - Microsoft Fabric Community

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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