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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
daxesh
Helper I
Helper I

Embed Power BI report into an app

Hello,

I am trying to embedd report in custom app.


For that i am follwing this approach
Integrate a report into an app : https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-report/

 

In above steps one of the step is to get access token.To get access token user faces a pop up which asks for the user's power BI credential.

 

Is there any way by which we can supress this step where in users needs to add power BI credential into popup ? and can it this step be performed by code by passing Power BI credentials to the authorisation URI?

 

Please guide for the same

 

Thanks in advance.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@daxesh

It is possible. Check Using ADAL .NET to Authenticate Users via Username/Password. However I would concern about some license compliance, as the pro license is charged per user.

 

Do you know Power BI Embedded? You can avoid any pop up authentication by using it.

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@daxesh

It is possible. Check Using ADAL .NET to Authenticate Users via Username/Password. However I would concern about some license compliance, as the pro license is charged per user.

 

Do you know Power BI Embedded? You can avoid any pop up authentication by using it.

Daxesh,

 

Power BI Embedded will not show any pop-up but please note that you can use that approach only if you are not using "Gateway" for the data source as it's currently not supported.

 

Please look at this link for more details - click here

 

Hope, this helps!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.