Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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, } }}
/>
Solved! Go to Solution.
Hi @Fabricio8798498 ,
For reference: Power BI Embedded: API to track your free embed token | Azure updates | Microsoft Azure
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply @v-rzhou-msft ,
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
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 Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-rzhou-msft where i can find the number of embed token avaliable in my azuere account ??
Hi @Fabricio8798498 ,
For reference: Power BI Embedded: API to track your free embed token | Azure updates | Microsoft Azure
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.