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
mmichtch
New Member

Single signon from site using Azure AD Authentication

I have a web MVC 5 web application with Azure AD Authentication. it is connected to our company domain.

The application record in the AD authorizing my custom app and Power BI to connect.

My website is working fine - users can connect using our company credentials, the custom power BI code is able to connect as well and access resources on Power BI. However user is being asked twice for the same credentials.

Is there any way to re-use credentials from MVC Azure AD authentication framework to get access to the Power BI API?

 

Thank you.

 

 

2 REPLIES 2
tjuni
New Member

Did you ever figure this out? I'm having the same issue.

I'm not sure if this is still an issue for you but I was able to solve this by following the https://github.com/Azure-Samples/active-directory-dotnet-graphapi-web example which authenticates the user against AAD and then passes that token in when calling the GraphAPI.

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.