Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Embedding in our mobile app

Hi all

 

We are creating a mobile application now, and we would also like to have some visualizations integrated in our application.

 

Is it possible to do this with Power BI? If yes, how can this be done? Please help.

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

This is totally possible. I think the two key parts are getting token and embedding contents. There are two types of embedding of Power BI. Please refer to developer/embedding.

1. Embedding for the organization. If users log in with their own accounts, I would suggest you use the Power BI Mobile App instead.

2. Embedding for the customer. 

2.1 Get the access token with Azure ADAL library, which has many versions for different programming languages. One reference: azure-activedirectory-library-for-java

2.2 Get the embedded token with the access token. We might have to call the REST API

2.3 Embed the contents in Phone view with the Power BI client.

 

There is a live demo which shows the Phone view. Please refer to PowerBI-JavaScript/demo/v2-demo.

To be honest, I'm not good at the mobile. There could many approaches of a mobile App. So here are ideas about embedding Power BI contents. Please feel free to post your questions.

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,

have you got the solution please help me in :

Hi,

 

I am new to Power BI.

I am trying to android mobile embedded power bi in application for that I created Workspace in power bi portal and from azure portal I registered that application. 

And now in Azure portal under App Registration I can see that app which I generated.

So for the same I I downloaded the sample Android project after putting the hash key and package name.

 

After running that application it asked me for Microsoft login then okta login and then some OTP.

after that I got some response that screen shot is attached. but not getting graph, the report graph is not generated.

Is there any step missing and some thing else need to do to get the graph ?

 

2.png

v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

This is totally possible. I think the two key parts are getting token and embedding contents. There are two types of embedding of Power BI. Please refer to developer/embedding.

1. Embedding for the organization. If users log in with their own accounts, I would suggest you use the Power BI Mobile App instead.

2. Embedding for the customer. 

2.1 Get the access token with Azure ADAL library, which has many versions for different programming languages. One reference: azure-activedirectory-library-for-java

2.2 Get the embedded token with the access token. We might have to call the REST API

2.3 Embed the contents in Phone view with the Power BI client.

 

There is a live demo which shows the Phone view. Please refer to PowerBI-JavaScript/demo/v2-demo.

To be honest, I'm not good at the mobile. There could many approaches of a mobile App. So here are ideas about embedding Power BI contents. Please feel free to post your questions.

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors