Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
While trying to test REST Api for export to file, i am facing the below issue#403 for all types of file. I want to use the export file behind a button in my power bi report to export the pdf file.
{
"error": {
"code": "InvalidRequest",
"message": "Report requested for export is not on dedicated capacity"
}
}
Solved! Go to Solution.
After reading hundreds of tutorials, finally I get a solution that at least is working fine for me. The blog that helped me the most was:
in https://blog.crossjoin.co.uk/
The steps for me were:
Hope that works for you aswell.
Well, the error you are getting seems to indicate that you need Premium or Embedded. What kind of license do you have?
You could check the Issues forum here:
https://community.powerbi.com/t5/Issues/idb-p/Issues
And if it is not there, then you could post it.
If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".
I'm facing same error. I tried to get the correct licenses (trial mode) so now the report is in a group with premium capacity activated.
I also give a PowerBi Pro license to the user that is testing the API. The workgroup now shows the diamond icon on the right side of its name, so I guess it is correctly setted up.
But the thing is I'm getting the same error message. Any Idea of what I'm doing wrong? what else should I check?
Really thanks in advance!
I'm also getting the same error. I am also using A1 capacity.
What else should I be considering! Are there specific changes I need to make to the workspace or the power bi capacity, should I be using a service principal.
Any assistance appreciated.
After reading hundreds of tutorials, finally I get a solution that at least is working fine for me. The blog that helped me the most was:
in https://blog.crossjoin.co.uk/
The steps for me were:
Hope that works for you aswell.
I have done the similar steps and used the 3 REST APIs you mentioned in my Flow to get the report PDF. Its working all fine.
As a next step, I want to export only certain pages of my report in PDF.
Have you tried that or have any leads on how it can be done?
Regards
@Anonymous , can you share your code, i am also trying to download report as file but getting error.
I have followed microsoft documentation , not working for me
I am also getting same error when using new REST API released from Microsoft
Invoke-RestMethod : {"error":{"code":"InvalidRequest","message":"Report requested for export is not on dedicated capacity"}}
At line:1 char:1
+ Invoke-RestMethod -Uri $uri2 -Headers $auth_header -Method GET -Body ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand