cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

PBI Embed

Hi,

 

 We are integrating PowerBI reports with dotnet application and we are following App-Owns model (Service Principle with Embed Token) for this.

 

 Have some questions about this App-Owns model, please help

 

1. We are using SERVICE PRINCIPLE to authenticate, with this do we have any limitations on the User Connections ?

2. Hope for each user, there will be an individual token generated for each session. And how long this token will be active?

3. We have a requierment for each user we need to maintain user settings on the report ? How can we achieve this ?

4. Any other limitations or things we need to care while we use SERVICE PRINCIPLE for authentication?

5. Is there any limitation on the number of users ?

 

Regards
Nagaraj

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: PBI Embed

Hi @nagaraj ,

 

1. We are using SERVICE PRINCIPLE to authenticate, with this do we have any limitations on the User Connections ?

If you want to know  number of generated token, please see the question 5. If you want to know set access level when generate token, please refer to https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken/reports_generatetokenforcreateingroup

 

 

2. Hope for each user, there will be an individual token generated for each session. And how long this token will be active?

The default value of Azure Access Token Lifetime is 1 hour and configure from 10 minutes to 1 day, please refer to token lifetimes in  Azure Active Directory

 

 

3. We have a requierment for each user we need to maintain user settings on the report ? How can we achieve this ?

What do is the meaning of user settings on the report ? If you mean "keep filter" or other option, we did not find an effective way to change it for each user.

 

 

4. Any other limitations or things we need to care while we use SERVICE PRINCIPLE for authentication?

Please refer to the consideration and limitations in this document.

 

 

5. Is there any limitation on the number of users ?

Based on this document, Embed tokens with PRO license are intended for development testing, so a Power BI master account or service principal can only generate a limited number of tokensPurchase a capacity for embedding in a production environment. There's no limit to how many embed tokens you can generate when you purchase a capacity. Go to Available Features to check the usage value that indicates the current embedded usage in percentage. 

 

If you have any other questions, please kindly ask here and we will try to resolve it.


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: PBI Embed

Hi @nagaraj ,

 

1. We are using SERVICE PRINCIPLE to authenticate, with this do we have any limitations on the User Connections ?

If you want to know  number of generated token, please see the question 5. If you want to know set access level when generate token, please refer to https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken/reports_generatetokenforcreateingroup

 

 

2. Hope for each user, there will be an individual token generated for each session. And how long this token will be active?

The default value of Azure Access Token Lifetime is 1 hour and configure from 10 minutes to 1 day, please refer to token lifetimes in  Azure Active Directory

 

 

3. We have a requierment for each user we need to maintain user settings on the report ? How can we achieve this ?

What do is the meaning of user settings on the report ? If you mean "keep filter" or other option, we did not find an effective way to change it for each user.

 

 

4. Any other limitations or things we need to care while we use SERVICE PRINCIPLE for authentication?

Please refer to the consideration and limitations in this document.

 

 

5. Is there any limitation on the number of users ?

Based on this document, Embed tokens with PRO license are intended for development testing, so a Power BI master account or service principal can only generate a limited number of tokensPurchase a capacity for embedding in a production environment. There's no limit to how many embed tokens you can generate when you purchase a capacity. Go to Available Features to check the usage value that indicates the current embedded usage in percentage. 

 

If you have any other questions, please kindly ask here and we will try to resolve it.


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Post Patron
Post Patron

Re: PBI Embed

HI @v-lid-msft 

  

 Thanks for providing the detail information. 

 

 One last question, I see that we can share the report with Other user in VIEW mode. Not sure where can i find this option when the report got embed inside application.

 

 And I tested the integration for all the three modes (View, Edit and Create). For View and Edit mode able to integrate successfully.

 But for CREATE i am seeing the below issue, not sure what exactly is causing this. Checked Javascript and it same as Javasript API demo, in the demo i can see the report with CREATE option successfully, but in integration not. Please advice

 

 

AMP_Create.jpg

Highlighted
Post Patron
Post Patron

Re: PBI Embed

HI @v-lid-msft 

 

 DatasetID i was not suppplied it correctly. Corrected the issue and resolved.

 

Thanks for your help.

 

Regards

Nagaraj

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Top Solution Authors
Top Kudoed Authors