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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.