Forum Discussion

keegan's avatar
keegan
New Member
4 years ago
Solved

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 ...
  • AmosHersch's avatar
    AmosHersch
    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.