Forum Discussion

sebastianherrer's avatar
sebastianherrer
Regular Visitor
8 years ago
Solved

Multi Tenant Embedded Power Bi Report

Hi, I am new on power bi, i am looking to embed my power bi reports on a multi tenant webapp. I have created all the reports and i have them in my power.bi account. 

I am using the angular-powerbi library. My issue is that i dont know how to get the report url, and tokens from my backend. 

 

Can anyone help please

 

Regards

 

Sebastian

3 Replies

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    sebastianherrer wrote:

    Hi, I am new on power bi, i am looking to embed my power bi reports on a multi tenant webapp. I have created all the reports and i have them in my power.bi account. 

    I am using the angular-powerbi library. My issue is that i dont know how to get the report url, and tokens from my backend. 

     

    Can anyone help please

     

    Regards

     

    Sebastian


    sebastianherrer

    There're two features embedding Power BI reports.

    Embedding with Power BI users (users own data)

    Embedding with non-Power BI users (app owns data)

     

    You can download the demos from Github PowerBI-Developer-Samples. You can reference the code in those demos to get reports and tokens.

     

    • sebastianherrer's avatar
      sebastianherrer
      Regular Visitor

      thanks for the answer, my issue is how to get all the data that it requires. authorityUrl, groupId, and all that

      • Eric_Zhang's avatar
        Eric_Zhang
        Microsoft Employee

        sebastianherrer wrote:

        thanks for the answer, my issue is how to get all the data that it requires. authorityUrl, groupId, and all that


        sebastianherrer

        The groupIds are actually the workspaceids in Power BI service, as to autorityUrl and so on, you can find them in all the tutorials in my previous reply.