Forum Discussion

asbpowerbi's avatar
asbpowerbi
Icon for Helper IV rankHelper IV
3 years ago
Solved

"Cannot connect to dataset xxx with embed token because XMLA permissions are off"

Hello,

 

I have an embeded PowerBI report. I added a Power BI Paginated visual to the report. The visual is published in a workspace that has a capcity assigned to it. In the PowerBI severvice the report and paginated visual work fine. when we embed in a webpage, we get the following error:

"Cannot connect to dataset xxx with embed token because XMLA permissions are off"

 

Any suggestions?

 

Cheers!

 

Peter

  • Hi,

     

    The isssue is probably related to the way you are generating the embed token.

    Which endpoint are you using for generating the embed token? Did you include the report ID and dataset ID of the Power BI report, and also the ID of the Paginated report?

     

    Do you have a Power BI dataset as a datasource of the Paginated report? Did you include it's ID as well, and with "xmlaPermissions": "ReadOnly" ?

6 Replies

  • AmosHersch's avatar
    AmosHersch
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi,

     

    The isssue is probably related to the way you are generating the embed token.

    Which endpoint are you using for generating the embed token? Did you include the report ID and dataset ID of the Power BI report, and also the ID of the Paginated report?

     

    Do you have a Power BI dataset as a datasource of the Paginated report? Did you include it's ID as well, and with "xmlaPermissions": "ReadOnly" ?