Forum Discussion
Anonymous
6 years agoNot applicable
Power BI refresh history
HI Im trying to get the refresh history of all my dataset and currently am following this documentation. https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getrefreshhistory#in-progres...
v-lid-msft
Community Support
6 years agoHi Anonymous ,
Have you tried to included a Authentication Access Token in the header? Please refer to this thread about usisg this api to get history of failure refresh: https://community.powerbi.com/t5/Service/PowerBI-Service-List-of-Power-BI-Reports-Data-set-s-with-Failed/td-p/852295/page/2 (Message 11 of 14)
Please also refer to following documents about how to get a Access Token of Power BI:
https://docs.microsoft.com/en-us/power-bi/developer/automation/walkthrough-push-data-get-token
You can also copy the Bearer XXXX in the "Try it" of API document and try it to connect api in desktop, it is the access token and will expire in 1 hour.
Best regards,