Forum Discussion
keegan
4 years agoNew Member
Unable to export Paginated report to PDF
Hi guys, I've followed a number of posts online, howver cannot export a paginated report to pdf. my code so far seems to be on the right track, although I have no idea.. I"ve placed some comments ...
- 4 years ago
Hi keegan ,
_apiUrl = new Uri("https://api.powerbi.com/");
I think that either the report ID you're using doesn't exist, or the user/service principal which is used when calling the API doesn't have access to the workspace of the report.
You should add the user/service principal as a member to the workspace.
keegan
4 years agoNew Member
Hi AmosHersch,
Thank you so much!!!
I did not have the service prinicple account from azure registered under the access account of my workspace (woohooo!!!).
I've added it now and it has pushed through without error. So this and correcting the authority url allowed me to poll the export of my report!
I have no idea what to do next, but I'll get to it.
Thanks again so much for your help, I really appreciate it!
Keegan