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
Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Upcoming Events

Community Summit North America – Join Online!

Join this community-driven Power Platform digital event for unbiased support and problem-solving.

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.