Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

problems encountered in calling Power BI rest APIs

I want to call power Bi rest APIs by clicking the button on the web to export files. In the official document of power Bi rest APIs, I followed the simulation example of export to file. However, after filling in the value of 'reportid' field, I encountered an error. The 403 error is "report requested for export is not on dedicated capacity". Considering that solving the problem may require me to register an app, I refer to the following document for registration. However, in the "authorize user" step, I encountered a prompt requiring administrator approval. I don't know who is the administrator in this case, therefore I am unable to perform the following operation. Please kindly provide me some guidance on this issue. Thank you so much!

Reference documents: https://www.sqlshack.com/how-to-access-power-bi-rest-apis-programmatically/

Export to file document: https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exporttofile#fileformat

 

1 Reply