Forum Discussion
Aad VS Embed token
Hi Renat
Based on your question, you want to obtain an AAD (Azure Active Directory) token for an app embedded in Power BI without using the interactive login interface.
This approach is often called "embed for your customers" and uses a non-interactive authentication flow. In this scenario, users do not need a Microsoft Entra ID to access Power BI.
Instead, your web app uses a reserved Microsoft Entra identity to authenticate to the Microsoft Entra ID and generate an embedded token.
To implement this scenario, you need the following steps:
Register your web app in the Azure portal and get your app's client ID and client secret.
Register your web app with the Power BI service and get the app's workspace ID and report ID.
In your web app, use the client ID and client secret to request an access token from Azure AD for accessing the Power BI API.
Using the access token, request an embed token from the Power BI API for embedding the Power BI report.
Embed Power BI reports into your web app using embed tokens.
You can view the link below for more details:
Permission tokens needed to embed a Power BI app - Power BI | Microsoft Learn
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Renat2 years agoNew Member
Hi
Thanks for reply. This is exactly what we have implemented and as I mentioned in original post we got this popup:
Our concern right now is that cheapest capacity cost is 750 USD/month while for "Pro license per user" we pay around $20 if I remember correctly.