Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
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 tokens. Purchase 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,
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 tokens. Purchase 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,
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
HI @v-lid-msft
DatasetID i was not suppplied it correctly. Corrected the issue and resolved.
Thanks for your help.
Regards
Nagaraj
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |