Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Exporting PBI report to pdf file via REST API - cannot load model

Hello,    I'm trying to export pbi report to pdf file using REST API 😞https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/ExportTo) and so forth. and I successfully can when th...
  • v-zhangti's avatar
    4 years ago

    Hi, Anonymous 

     

    I need to check with you if the report can be displayed properly inside the service. Also is RLS properly configured in the service (dateset-security-role)?

     

    This is the relevant document, hope to help you:

    https://community.powerbi.com/t5/Service/Export-API-with-dynamic-RLS/m-p/2071903 

     

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi, 

     

    the issue has been resolved by specifying correct role name that would match the one specified in PowerBI Service Row-Level Security tab, please, see below.

     

    Thank you very much.

     

    Marcel