The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Please advice me step by step or share documentation to apply Power BI to my mobile application (embed to my app do not link to open PowerBI App or browsers) .
I know 2 solutions for embed PowerBI
1. Embed for organization (prefer this solution)
2. Embed for customer
1. Embed for organization
I found this script but I don't sure which rows have to custom or where to find them or any guide to custom?
such as id, accessToken, ...
remark >> License : PowerBI Capacity (P1)
Thank for your reply
You can do this by using the "Embed for your organization" method. First, you need to set up your app in Microsoft Entra (formerly Azure Active Directory). This step allows your app to securely talk to Power BI. You’ll register your app, give it permissions to read Power BI reports, and create a client secret, which is like a password your app uses to connect.
Next, you’ll collect some important details like your Tenant ID, Client ID, and the Report and Workspace IDs from Power BI. These are needed to link the report inside your app.
Then, you’ll use Power BI’s JavaScript code (called the Power BI JavaScript API) in your app. This code helps load the report into your app screen. You’ll also use the secret info you got earlier to let users log in and see the report.
Make sure your users have Power BI licenses (like Power BI Pro or Premium) and permission to view the reports. It’s also a good idea to design the reports so they look good on phone screens.
Hey @HelloTheSun
Just to clarify a few things based on this thread: While you can technically load an embedded Power BI report inside a mobile app using WebView or iframe, it’s not officially supported by Microsoft. As lbendlin mentioned, this approach often breaks especially around authentication and may force users into the full Power BI mobile app anyway.
For internal users, the best experience is still via the Power BI Mobile App or a mobile-optimized web app using supported browser embedding.
Helpful links:
Embed for your organization
Authentication for embedding
This is not supported. On Mobile your users need to consume Power BI content through the Power BI Mobile app.