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
cynosure_aks
Frequent Visitor

Authenticating Power BI tile as part of API call to call in web app.

Hi,

 

We are working on integrating Power BI tile into our web app using Azure Active Direcy, followed the steps in below url and succesfully integrated the tile into web app.

https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-a-power-bi-tile-or-rep...

 

Issue Is : When we run the app in the vistual studio its redirecting to Power BI login page before displaying the Power BI tile in the web page. Is there a way to provide the auntication information as part of API call to avoid user seeing the login page

or

bypass the login page and display tile in the web app without authentication.

4 REPLIES 4
Nithya
Frequent Visitor

Hi

If you have user credentials then you can bypass the login paage, when sending request for access token send grant_type="password" and username="PowerBI USerName" and password="PowerBI Passowrd"

Anonymous
Not applicable

If I understand well, then you are looking for a kind of anonymous access to the report, right? Or deal with the authentication on your web application side. You may want to take a look at Power BI Embedded, which was released two weeks ago. In a nutshell it does the same as the regular app, but takes away the user authentication against Power BI web service. It authenticates only the app, and not the user. This way your end user will never face the Azure authentication pages at all.

 

I hope that helps.

jocaplan-MSFT
Employee
Employee

If you are trying to embed a tile from a users dashboard, you will need to get that user to log in at least once. You can cache their credentials if you don't want them to log in again.

Thanks for the resoponse, reports are going to be deployed in a public site and needs no autentication, we are looking for a way to bypass auntication or pass auntication information as part of API call.

Using Azure Active Directory  to make sure we can integrate a tile in webpage without Pagetabs and PowerBI logo.  

 

 

 

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.