cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Single sign on in "User owns data" approach

Hi All,

 

I am able to view the Power BI reports in .Net application using samples provided for "User owns data" approach.

However the user needs to login by providing his email id and password before he can view the reports.

 

Is there any way we can have this login process done using Single Sign On (to validate the user and fetch the access token) and the user is not prompted to enter his authentication details in "User owns data" approach.

 

Note that we do not want to use "App owns data" approach.

 

Thanks,

Vinayak

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Re: Single sign on in "User owns data" approach


@vinayakz86 wrote:

Hi All,

 

I am able to view the Power BI reports in .Net application using samples provided for "User owns data" approach.

However the user needs to login by providing his email id and password before he can view the reports.

 

Is there any way we can have this login process done using Single Sign On (to validate the user and fetch the access token) and the user is not prompted to enter his authentication details in "User owns data" approach.

 

Note that we do not want to use "App owns data" approach.

 

Thanks,

Vinayak


@vinayakz86

I don't know much about Single sign on. As per the documentation Azure Active Directory and Power BI

 

ADFS is all about Single Sign On.  The idea here is that when I’m in my organization, in the office, it can pick up my Windows Token and I never see a login page having to enter a username an password.  It just comes up.  If you are outside of the office, it will present a login page that is part of the ADFS resource and not the normal Microsoft Online login page.

 

And The demo User Owns Data already works as highlighted in my test. I don't see any login page popup when clicking the Get Report buttion.

Capture.PNG

Highlighted
Helper I
Helper I

Re: Single sign on in "User owns data" approach

Hi @Eric_Zhang,

 

Thank you for the reply.

 

The code sample provided asks for a login and the site app.powerbi.com too asks for a login every time we open a new browser session.

 

Does it mean that the ADFS is not configured in our case? 

Is ADFS configuration absolutely essential so that the user is not prompted to enter his user name and password?

 

We have come across another link here which is also related to similar user authentication scenario.

 

Thanks,

Vinayak

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.