Forum Discussion
not getting unknown status while call Refresh History powerbi rest API
Hi,
I am using powerBI Premium per user License.
While calling Get Refresh History In Group API from Embed powerbi report from webpage, I am not getting request record that have Status: "Unknown".
When Same API I tried in Local then I am getting record "Unknown" status first then "Completed"
3 Replies
- lbendlin
Super User
That means there is no refresh in progress.
- AnonymousNot applicable
lbendlin But I cheked logs in PowerBI server & every time refresh API found completed.
- AnonymousNot applicable
Thanks for lbendlin 's reply.
Hi Anonymous ,
Have you tried refreshing a semantic model after (at this point, that semantic model is in the process of being refreshed)
Immediately call the Power Rest API to get the refresh history of that semantic model.
Is the returned status still Completed?In my testing, when a semantic model is in the process of being refreshed, the status returned by executing the Power BI Rest API will be Unknow.
Only when this refresh is complete will the returned status be Completed.
Datasets - Get Refresh History In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.