Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nagaraj
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
v-lid-msft
Community Support
Community Support

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
v-lid-msft
Community Support
Community Support

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.

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

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.