Forum Discussion
Embeed Power Bi with Power BI Pro account
Hello everyone,
I have a question about Power BI Embedded. I currently have a Power BI Pro account, I need to put an embedded Power BI in my own react.js application without the end user having to authenticate.
I don't want to use an iframe, since I need to see it in mobile layout using an API that Power BI recommends. For this, it is necessary to buy Power BI Embedded or the license that I currently have is sufficient???
In this implementation it asks me for an access token. Can I obtain it with the Power BI pro license, along with my token type models.TokenType.Embed???
import { PowerBIEmbed } from 'powerbi-client-react';
import { models } from 'powerbi-client';
<PowerBIEmbed embedConfig = {{ type: 'report', // Supported types: report, dashboard, tile, visual, qna, paginated report and create id: '<Report Id>', embedUrl: '<Embed Url>', accessToken: '<Access Token>', tokenType: models.TokenType.Embed, // Use models.TokenType.Aad for SaaS embed settings: { panes: { filters: { expanded: false, visible: false } }, background: models.BackgroundType.Transparent, } }}
/>
- Anonymous1 year ago
Hi Fabricio8798498 ,
For reference: Power BI Embedded: API to track your free embed token | Azure updates | Microsoft Azure
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 Replies
- AnonymousNot applicable
Hi Fabricio8798498 ,
According to your statement, I think your issue is that what kind of capacity and sku you need when you embed for customer.
For more details, you can refer to this offical blog: Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Learn
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Fabricio8798498New Member
Thanks for the reply Anonymous ,
I have reviewed the capacity and the sku's and I have come to the conclusion that if I want to make an App owns data application, the Pro license is enough. At the moment I don't need a lot of capacity and what I am looking for is for the user to be able to access reports without having a Power BI account to just be able to view it. Please confirm if I am correct.
Please review this article to be able to reach this conclusion
- AnonymousNot applicable
Hi Fabricio8798498 ,
Yes, this blog is about embed for customer. When you choose this method to embed, the customer doesn't need to sign in, even they don't need a Power BI account to view the embeded report.
The customer will use the embed token you generated for them to view the report.For reference:Permission tokens needed to embed a Power BI app - Power BI | Microsoft Learn
Embed tokens with Pro or Premium Per User (PPU) 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. In development testing, you can use free embed trial tokens with a Pro license. To embed in a production environment, you must purchase a capacity.
For reference:
Frequently asked questions about Power BI embedded analytics - Power BI | Microsoft Learn
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.