Forum Discussion

Murugesh's avatar
Murugesh
New Member
8 years ago

Embedding Power BI reports on SharePoint page

We have a requirement to embed Power BI reports on SharePoint page. For SharePoint embedding, we are using service account to get the access token from the Azure AD.

 

Is it a good option to go with the service account credentials to retrieve the access token from Azure AD? so need to make sure service account is good when the license model is subscription based.

 

Since the account will be embedded in the client app, if detects the same account trying to log in from multiple locations and machines at the same time, will it block the access?

 

Is there any other option to retrieve the access token from Azure AD for the current logged in SharePoint user. We will be then using this access token to make Power BI REST API calls.

2 Replies

  • We have a requirement to embed Power BI reports on SharePoint page. For SharePoint embedding, we are using service account to get the access token from the Azure AD.

     

    Is it a good option to go with the service account credentials to retrieve the access token from Azure AD? Need information if service account is good to use when the Power BI license model is subscription based.

     

    Since the account will be embedded in the client app, if detects the same account trying to log in from multiple locations and machines at the same time, will it block the access?

     

    Is there any other option to retrieve the access token from Azure AD for the current logged in SharePoint user. We will be then using this access token to make Power BI REST API calls.

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    Murugesh wrote:

    We have a requirement to embed Power BI reports on SharePoint page. For SharePoint embedding, we are using service account to get the access token from the Azure AD.

     

    Is it a good option to go with the service account credentials to retrieve the access token from Azure AD? so need to make sure service account is good when the license model is subscription based.

     

    Since the account will be embedded in the client app, if detects the same account trying to log in from multiple locations and machines at the same time, will it block the access?

     

    Is there any other option to retrieve the access token from Azure AD for the current logged in SharePoint user. We will be then using this access token to make Power BI REST API calls.


    Murugesh

    You can use only one account to embed reports, as long as your purchase the Power BI premium license, see this feature Embedding with non-Power BI users (app owns data).   As to Embedding with Power BI users (users own data), each access from your client shall have individual pro license.

     

    I don't know much about Sharepoint, how do you embed Power BI reports in Sharepoint, like Integrate Power BI reports in SharePoint Online?